/* 鉄瓶ゴシック (07TetsubinGothic) — Apache License 2.0, フォントな自由 / derived from Source Han Sans (Noto Sans CJK)
   subset = site text + ASCII + kana + common symbols ; full = everything else (only downloaded if needed) */
@font-face {
  font-family: "Tetsubin Gothic";
  src: url("../fonts/TetsubinGothic-full.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  /* 記号・漢字など。サブセットに無い文字が出てきたときだけダウンロードされる */
  unicode-range: U+100-2FFF, U+3000-9FFF, U+F900-FFEF;
}
@font-face {
  font-family: "Tetsubin Gothic";
  src: url("../fonts/TetsubinGothic-subset.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+A, U+20-7E, U+A1-FF, U+2010-2016, U+2018-201A, U+201C-201E, U+2020-2022, U+2025-2026, U+2030, U+2032-2033, U+2039-203B, U+2190-2193, U+2197, U+2460-2473, U+25A0-25A2, U+25AA-25AB, U+25B2-25B3, U+25B6-25B7, U+25BC-25BD, U+25C0-25C1, U+25C6-25C7, U+25C9, U+25CB-25CC, U+25CE-25CF, U+3000-3015, U+301C-301D, U+301F-3020, U+3030, U+3033-3036, U+3041-3094, U+309B-309E, U+30A1-30FE, U+4E00, U+4E08, U+4E0A-4E0B, U+4E0D, U+4E16, U+4E26, U+4E2D, U+4E88, U+4E8B, U+4E94, U+4EBA, U+4ECB, U+4ED5, U+4ED8, U+4EF6, U+4EFB, U+4F1A, U+4F1D, U+4F34, U+4F3C, U+4F4F, U+4F53, U+4F55, U+4F5C, U+4F7F, U+4F8B, U+4F9D, U+4FDD, U+4FE1, U+500B, U+500D, U+5024, U+5074, U+5099, U+50D5, U+512A, U+5143, U+5148, U+5165, U+5168, U+516C, U+5171, U+5178, U+5185, U+518D, U+51FA, U+5206-5207, U+5217, U+521D, U+5225, U+5236, U+5238, U+524D, U+529B, U+52A0, U+52A9, U+52D5, U+52DD, U+52E7, U+5316, U+5375, U+53CD, U+53D6-53D7, U+53EF-53F0, U+53F3, U+53F7, U+5408, U+540C-540D, U+5411, U+541B, U+542B, U+544A, U+5473, U+547C, U+54C1, U+54E1, U+5546, U+554F, U+5584, U+55AB, U+55B6, U+56DB, U+56DE, U+56F3, U+571F, U+5728, U+5730, U+578B, U+57F7, U+57FA, U+5802, U+5834, U+5897, U+58C1, U+58F0, U+5916, U+591A, U+5927, U+592B, U+5B50, U+5B57-5B58, U+5B88, U+5B9A-5B9B, U+5B9F, U+5BA3, U+5BB6, U+5BB9, U+5BFE, U+5C06, U+5C11, U+5C4A-5C4B, U+5CF6, U+5DE5, U+5DEE, U+5DF1, U+5E02, U+5E83, U+5E95, U+5E97, U+5EA6-5EA7, U+5F0F, U+5F15, U+5F62, U+5F8C, U+5FAA, U+5FC5, U+601D, U+6027, U+60F3, U+610F, U+614B, U+6210, U+623B, U+6240, U+624B, U+6271, U+6280, U+62BC, U+62FE, U+6301, U+639B, U+63A2, U+63CF, U+63DB, U+63FA, U+6539, U+653F, U+6570, U+6587, U+6599, U+65B0, U+65B9, U+65E5, U+65E7, U+6607, U+660E, U+6613, U+6620, U+6642, U+6687, U+66F4, U+66F8, U+66FF-6700, U+672A-672C, U+675F, U+6765, U+676F, U+67B6, U+67F1, U+682A, U+691C, U+696D, U+6982, U+69CB, U+69D8, U+6A19, U+6A5F, U+6B21, U+6B63, U+6B69, U+6BB5, U+6BCE, U+6C17, U+6C7A, U+6CBB, U+6CD5, U+6CE8, U+6D3E, U+6D41, U+6D6E, U+6D77, U+6DFB, U+6E96, U+7119, U+7121, U+713C, U+714E, U+7248, U+7269, U+72B6, U+73FE, U+74B0, U+751F, U+7528, U+7531, U+753A-753B, U+754C, U+7565, U+756A, U+7570, U+767A-767B, U+767D, U+7684, U+76E4, U+76EE, U+76F4, U+76F8, U+7701, U+771F, U+77E5, U+77ED, U+77F3, U+78BA, U+793A, U+793E, U+795E, U+796D, U+79CB, U+79FB, U+7A4D, U+7A7A, U+7AF6, U+7B54, U+7B97, U+7BB1, U+7CBE, U+7D04, U+7D19, U+7D20, U+7D22, U+7D39, U+7D44, U+7D4C, U+7D61, U+7D9A, U+7DD2, U+7DDA, U+7E3E, U+7E70, U+7F6E, U+7F72, U+7FA9, U+7FFB, U+8003, U+8005, U+805E, U+80B2, U+80FD, U+81A8, U+81EA, U+8272, U+82F1, U+8336, U+83D3, U+843D, U+8449, U+884C, U+8853, U+8857, U+8868, U+88C5, U+88CF, U+8981, U+898B, U+898F, U+89A7, U+89B3, U+89D2, U+89E3, U+89E6, U+8A00, U+8A08, U+8A17, U+8A2A, U+8A2D, U+8A33, U+8A66, U+8A71, U+8A73, U+8A98, U+8A9E, U+8AAC-8AAD, U+8AC7, U+8B1B, U+8B58, U+8B70, U+8CBB, U+8CDE, U+8CEA, U+8CFC, U+8D70, U+8D77, U+8DB3, U+8DEF, U+8DF5, U+8EAB, U+8EFD, U+8F9E, U+8FBC, U+8FD1, U+8FD4, U+8FFD, U+9001, U+901A, U+9023, U+9031-9032, U+904A, U+9053, U+9069, U+9078, U+90E8, U+914D, U+91CD, U+91D1, U+9577, U+9589, U+958B, U+9593, U+95A2, U+964D, U+967D, U+968E, U+96C6, U+96E3, U+9762, U+97F3, U+9806, U+983C, U+984C, U+9858, U+98A8, U+98DB, U+98DF, U+99AC, U+9A13, U+9AD8, U+9CE5, U+9ED2, U+FF01-FF5E, U+FF61-FF9F;
}

/* =========================================================
   XXBase — cardboard installation
   only black / white / grayscale
   ========================================================= */
:root {
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --mid: #7a7a7a;
  --line: #2a2a2a;
  --bg: #d6d6d4;          /* warehouse / outer box */
  --board: #e7e7e5;       /* cardboard liner */
  --board-2: #dcdcda;
  --board-dark: #bfbfbd;
  --paper: #f3f3f2;
  --shadow: rgba(0, 0, 0, .16);
  --tape: rgba(255, 255, 255, .5);
  --font: "Tetsubin Gothic", system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --pad: clamp(20px, 5vw, 80px);
  --maxw: 1320px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);

  /* paper grain + blotch textures (SVG noise, grayscale) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  --blotch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1100' height='1100'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23b)' opacity='.2'/%3E%3C/svg%3E");
  /* corrugated flutes (cross section) */
  --flute: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='14' viewBox='0 0 16 14'%3E%3Cpath d='M0 7 Q4 0 8 7 T16 7' fill='none' stroke='%231a1a1a' stroke-width='1.3'/%3E%3C/svg%3E");
  --flute-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='16' viewBox='0 0 14 16'%3E%3Cpath d='M7 0 Q0 4 7 8 T7 16' fill='none' stroke='%231a1a1a' stroke-width='1.3'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.is-locked, html.is-locked body { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--bg);
  background-image: var(--blotch);
  background-blend-mode: multiply;
  line-height: 1.9;
  font-feature-settings: "palt";
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* fine paper grain over everything */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image: var(--grain);
  mix-blend-mode: multiply;
  opacity: .28;
  z-index: 200;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--ink); color: #fff; padding: 8px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- cardboard material ---------- */
.board {
  position: relative;
  background-color: var(--board);
  background-image:
    var(--blotch),
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(0,0,0,.028) 10px 12px);
  background-blend-mode: multiply, normal;
  border: 2px solid var(--line);
  border-radius: 4px 7px 5px 6px / 6px 4px 7px 5px;
}
.board--raised { box-shadow: 10px 12px 0 var(--shadow); }

.tape {
  position: absolute;
  width: 120px; height: 30px;
  background: var(--tape);
  border-left: 1px dashed rgba(0,0,0,.18);
  border-right: 1px dashed rgba(0,0,0,.18);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  z-index: 2;
  pointer-events: none;
}
.tape--tl { top: -12px; left: 28px; transform: rotate(-7deg); }
.tape--tr { top: -12px; right: 28px; transform: rotate(6deg); }
.tape--br { bottom: -12px; right: 40px; transform: rotate(-5deg); }
.tape--top { top: -14px; left: 50%; transform: translateX(-50%) rotate(-2deg); }

.print {
  font-size: 11px;
  letter-spacing: .28em;
  font-weight: 700;
  color: var(--ink);
  opacity: .42;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- header / menu ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px clamp(16px, 3vw, 36px);
  pointer-events: none;
}
.mini-logo, .menu-btn { pointer-events: auto; }
.mini-logo {
  font-weight: 900; font-size: 20px; letter-spacing: -.02em; text-decoration: none;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--board); border: 2px solid var(--line); border-radius: 5px 3px 6px 4px;
  box-shadow: 4px 5px 0 var(--shadow);
  opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .4s;
}
.is-scrolled .mini-logo { opacity: 1; transform: none; }
.menu-btn {
  width: 56px; height: 56px; padding: 0; cursor: pointer;
  background: var(--board); border: 2px solid var(--line); border-radius: 4px 6px 5px 3px;
  box-shadow: 4px 5px 0 var(--shadow);
  display: grid; place-items: center;
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.menu-btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 7px 0 var(--shadow); }
.menu-btn:active { transform: translate(3px, 4px); box-shadow: 1px 1px 0 var(--shadow); }
.menu-btn__lines { display: grid; gap: 6px; width: 26px; }
.menu-btn__lines i {
  display: block; height: 2.5px; background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .2s;
}
.menu-btn__lines i:nth-child(1) { width: 100%; transform: rotate(-1.5deg); }
.menu-btn__lines i:nth-child(2) { width: 80%; transform: rotate(1deg); }
.menu-btn__lines i:nth-child(3) { width: 92%; transform: rotate(-.5deg); }
.menu-btn[aria-expanded="true"] i:nth-child(1) { transform: translateY(8.5px) rotate(45deg); width: 100%; }
.menu-btn[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] i:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); width: 100%; }

.menu {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(20,20,20,.18);
  display: flex; justify-content: flex-end;
  opacity: 0; transition: opacity .3s;
}
.menu.is-open { opacity: 1; }
.menu__sheet {
  width: min(440px, 100%); height: 100%;
  background-color: var(--board); background-image: var(--blotch), repeating-linear-gradient(90deg, transparent 0 10px, rgba(0,0,0,.028) 10px 12px);
  border-left: 2px solid var(--line);
  padding: 110px clamp(28px, 6vw, 56px) 40px;
  transform-origin: right center;
  transform: perspective(1200px) rotateY(-70deg);
  transition: transform .55s cubic-bezier(.3,1.3,.5,1);
  box-shadow: -12px 0 0 var(--shadow);
  position: relative;
}
.menu__sheet::before { /* corrugated cut edge */
  content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 12px;
  background: var(--paper) var(--flute-v) repeat-y center / 12px 14px;
  border-right: 1.5px solid var(--line);
}
.menu.is-open .menu__sheet { transform: none; }
.menu__print { margin: 0 0 28px; font-size: 11px; letter-spacing: .3em; opacity: .5; font-weight: 700; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li + li { border-top: 1.5px dashed rgba(0,0,0,.35); }
.menu a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 16px 0; text-decoration: none;
  font-size: clamp(30px, 6vw, 42px); font-weight: 900; letter-spacing: .02em;
  transition: transform .25s var(--ease-out);
}
.menu a span { font-size: 12px; font-weight: 700; letter-spacing: .1em; opacity: .5; }
.menu a:hover, .menu a:focus-visible { transform: translateX(10px); }

/* ---------- layout ---------- */
.space { position: relative; padding: clamp(90px, 13vw, 180px) var(--pad); }
.space__inner { max-width: var(--maxw); margin: 0 auto; }
.grid-2 {
  display: grid; gap: clamp(40px, 6vw, 96px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1.05fr; }
  .grid-2--purpose { grid-template-columns: 1.25fr .75fr; }
  .grid-2--loop { grid-template-columns: .95fr 1.05fr; }
}

/* stamp headings */
.stamp {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: .2em 14px;
  margin: 0 0 clamp(26px, 4vw, 44px);
  font-size: clamp(13px, 1.2vw, 15px); font-weight: 900; letter-spacing: .32em;
  padding: 9px 16px 9px 12px;
  border: 2px solid var(--ink); border-radius: 3px 5px 4px 6px;
  transform: rotate(-1.2deg);
  background: var(--paper);
  box-shadow: 3px 4px 0 var(--shadow);
  line-height: 1.4;
}
.stamp__no { font-size: .8em; letter-spacing: .1em; padding-right: 12px; border-right: 1.5px solid var(--ink); }
.stamp__sub { font-weight: 500; letter-spacing: .08em; opacity: .6; font-size: .9em; }

.lead {
  margin: 0;
  font-size: clamp(18px, 1.9vw, 25px);
  font-weight: 700; line-height: 2.05; letter-spacing: .04em;
}
.statement { margin: 0; font-size: clamp(18px, 2vw, 27px); font-weight: 700; line-height: 1.85; letter-spacing: .03em; }
.statement .line { display: block; margin-bottom: .5em; }
.statement .line--strong { font-weight: 900; }
.statement--sm { font-size: clamp(16px, 1.5vw, 20px); font-weight: 500; letter-spacing: 0; }
.statement--sm .line { margin-bottom: .35em; }
.statement--sm .line--strong { font-weight: 900; }
.statement .gap { margin-top: 1.1em; }

/* ---------- TOP ---------- */
.top {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding: clamp(14px, 2.4vw, 32px);
  padding-bottom: 0;
  display: flex; flex-direction: column;
}
.top__wall {
  flex: 1;
  display: grid; place-items: center;
  min-height: calc(100svh - 2 * clamp(14px, 2.4vw, 32px));
  border-width: 2.5px;
  box-shadow: inset 0 -30px 60px rgba(0,0,0,.06), 0 14px 0 var(--shadow);
  overflow: hidden;
}
.top__wall::before { /* the score line / fold of a big box */
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  border-top: 1.5px dashed rgba(0,0,0,.1);
}
.top__wall::after { /* vertical seam */
  content: ""; position: absolute; top: 0; bottom: 0; left: 18%;
  border-left: 1.5px solid rgba(0,0,0,.07);
}
.print--tl { position: absolute; top: 28px; left: 32px; }
.print--br { position: absolute; bottom: 34px; right: 34px; letter-spacing: .2em; }
.top__center { text-align: center; position: relative; z-index: 1; padding: 0 12px; }
.wordmark {
  --sx: 1; --sy: 1;
  margin: 0;
  font-size: clamp(76px, 17.5vw, 268px);
  font-weight: 900; letter-spacing: -.035em; line-height: 1;
  color: var(--paper);
  -webkit-text-stroke: clamp(3px, .5vw, 6px) var(--ink);
  paint-order: stroke fill;
  text-shadow:
    calc(var(--sx) * 1px) calc(var(--sy) * 1px) 0 #a9a9a7,
    calc(var(--sx) * 2px) calc(var(--sy) * 2px) 0 #a3a3a1,
    calc(var(--sx) * 3px) calc(var(--sy) * 3px) 0 #9d9d9b,
    calc(var(--sx) * 4px) calc(var(--sy) * 4px) 0 #979795,
    calc(var(--sx) * 5px) calc(var(--sy) * 5px) 0 #91918f,
    calc(var(--sx) * 6px) calc(var(--sy) * 6px) 0 #8b8b89,
    calc(var(--sx) * 7px) calc(var(--sy) * 7px) 0 #858583,
    calc(var(--sx) * 18px) calc(var(--sy) * 22px) 24px rgba(0,0,0,.22);
  transition: text-shadow .25s linear;
}
.wordmark__x { display: inline-block; }
.wordmark__x:first-child { transform: rotate(-3deg) translateY(.02em); }
.wordmark__x:nth-child(2) { transform: rotate(2.5deg); margin-right: .02em; }
.top__kana {
  margin: clamp(14px, 2vw, 26px) 0 0;
  font-size: clamp(14px, 1.5vw, 20px); font-weight: 700; letter-spacing: .5em;
  padding-left: .5em; /* balance letter-spacing */
}
.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(22px, 4vh, 44px); transform: translateX(-50%);
  display: grid; justify-items: center; gap: 4px;
  text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .18em;
  z-index: 1;
}
.scroll-cue svg { width: 18px; height: 46px; animation: cue 2.4s var(--ease-out) infinite; }
@keyframes cue { 0%, 100% { transform: translateY(-4px); opacity: .5; } 50% { transform: translateY(6px); opacity: 1; } }

.flute-edge {
  height: 16px; margin: 0 clamp(4px, 1vw, 12px);
  background: var(--paper) var(--flute) repeat-x center / 16px 14px;
  border: 2px solid var(--line); border-top: 0;
  border-radius: 0 0 4px 4px;
  opacity: .9;
}

/* ---------- ABOUT ---------- */
.about__visual { margin: 0; padding: clamp(28px, 4vw, 56px) clamp(16px, 3vw, 40px) clamp(18px, 2.5vw, 30px); transform: rotate(.8deg); }
.about__visual svg { width: 100%; height: auto; }
.svg-label { font-family: var(--font); font-weight: 700; letter-spacing: .12em; }
.vis-cap { margin: 8px 0 0; text-align: center; font-size: 13px; letter-spacing: .2em; font-weight: 700; opacity: .55; }
.egg-shape { transform-box: fill-box; transform-origin: 50% 90%; }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 8% { transform: rotate(-4deg); } 16% { transform: rotate(3deg); } 24% { transform: rotate(-1.5deg); } 32% { transform: rotate(0); } }

/* ---------- PURPOSE ---------- */
.purpose { background: transparent; }
.purpose::before { /* a darker floor panel to vary the space */
  content: ""; position: absolute; inset: 0 clamp(8px, 2vw, 24px);
  background: var(--board-2);
  border-top: 2px solid var(--line); border-bottom: 2px solid var(--line);
  background-image: var(--blotch), repeating-linear-gradient(90deg, transparent 0 10px, rgba(0,0,0,.03) 10px 12px);
  z-index: -1;
}
.swell {
  font-style: normal; position: relative; display: inline-block;
  font-weight: 900;
  transform: scale(var(--swell-word, 1)); transform-origin: 50% 80%;
}
.swell::after {
  content: ""; position: absolute; left: -4%; right: -4%; bottom: .02em; height: .32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q25 2 50 7 T98 5' fill='none' stroke='%231a1a1a' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform-origin: left; transform: scaleX(var(--swell-line, 0));
}
.purpose__visual { display: grid; place-items: center; }
.swell-svg { width: min(100%, 420px); height: auto; overflow: visible; }
.swell-egg { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(var(--swell, 1)); }
.swell-shadow { transform-box: fill-box; transform-origin: center; transform: scaleX(var(--swell, 1)); }
.swell-xs g { opacity: 0; transition: opacity .5s, transform .5s; }
.swell-xs g.on { opacity: 1; }
.crack { opacity: var(--crack, 0); }

/* ---------- LOOP ---------- */
.loop__visual { margin: 0; padding: clamp(20px, 3vw, 40px); transform: rotate(-.8deg); }
.loop-svg { width: 100%; height: auto; }
.loop-node text { font-family: var(--font); font-weight: 900; font-size: 26px; letter-spacing: .14em; fill: var(--ink); }
.loop-center__big { font-family: var(--font); font-weight: 900; font-size: 30px; letter-spacing: .08em; opacity: .25; }
.loop-center__small { font-family: var(--font); font-weight: 700; font-size: 14px; letter-spacing: .4em; opacity: .45; }

/* ---------- draw-on (hand-drawn reveal) ---------- */
.js .draw .ln { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
@media (prefers-reduced-motion: reduce) { .js .draw .ln { stroke-dashoffset: 0; animation: none !important; } }
.js .is-in .draw .ln, .js .draw.is-in .ln { animation: draw 1.3s var(--ease-out) forwards; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.js .draw .ln:nth-child(2) { animation-delay: .12s; }
.js .draw .ln:nth-child(3) { animation-delay: .3s; }
.js .draw .ln:nth-child(4) { animation-delay: .4s; }
.js .draw .ln:nth-child(5) { animation-delay: .55s; }
.js .draw .ln:nth-child(7) { animation-delay: .7s; }
.js .draw .ln:nth-child(8) { animation-delay: .85s; }
.js .draw .ln:nth-child(9) { animation-delay: .95s; }
.js .draw .ln:nth-child(10) { animation-delay: 1.05s; }
.js .draw .ln:nth-child(11) { animation-delay: 1.15s; }
.js .draw .ln:nth-child(12) { animation-delay: 1.3s; }
.js .is-in .loop-svg circle.ln { animation-duration: 1.8s; }
.js .loop-svg circle.ln:nth-child(2) { animation-delay: .3s; }
/* egg: draw first, then wobble */
.js .is-in .draw .egg-shape { animation: draw 1.3s var(--ease-out) .55s forwards, wobble 4.5s 2.2s ease-in-out infinite; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .about__visual.reveal.is-in { transform: rotate(.8deg); }
.js .loop__visual.reveal.is-in { transform: rotate(-.8deg); }
.js .stamp.reveal.is-in { transform: rotate(-1.2deg); }

/* ---------- WORKS ---------- */
.works__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0 32px; margin-bottom: clamp(30px, 4vw, 56px); }
.works__head .stamp { margin-bottom: 14px; }
.works__lead { margin: 0 0 14px; font-weight: 500; font-size: clamp(15px, 1.3vw, 18px); }
.works__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(28px, 3.4vw, 48px);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .works__list { grid-template-columns: 1fr 1fr; } }
.works__list > li { perspective: 1400px; }
.work {
  color: inherit; text-decoration: none;
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  width: 100%; min-height: clamp(260px, 26vw, 360px);
  text-align: left; cursor: pointer;
  padding: clamp(26px, 3vw, 44px);
  padding-right: clamp(60px, 7vw, 96px);
  box-shadow: 8px 10px 0 var(--shadow);
  transform-origin: left center;
  transition: transform .6s cubic-bezier(.25,1.3,.4,1), box-shadow .6s var(--ease-out);
}
.work::after { /* corrugated right edge = the side that swings */
  content: ""; position: absolute; top: -2px; bottom: -2px; right: -2px; width: 14px;
  background: var(--paper) var(--flute-v) repeat-y center / 14px 16px;
  border: 2px solid var(--line);
  border-radius: 0 6px 5px 0;
}
.work:hover, .work:focus-visible { transform: rotateY(14deg); box-shadow: 16px 12px 0 rgba(0,0,0,.2); }
.work:active, .work.is-pressed { transform: rotateY(20deg) scale(.985); box-shadow: 4px 5px 0 rgba(0,0,0,.2); transition-duration: .16s; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.work__hole { /* hand hole */
  position: absolute; right: clamp(30px, 3.6vw, 48px); top: 50%; width: 18px; height: 64px; transform: translateY(-50%);
  border: 2px solid var(--line); border-radius: 10px; background: #8f8f8d;
  box-shadow: inset 3px 4px 0 rgba(0,0,0,.35);
}
.work__status { margin-bottom: 18px; }
.work__title {
  margin: 0; font-size: clamp(36px, 4.6vw, 64px); font-weight: 900; line-height: 1.12; letter-spacing: -.01em;
  word-break: keep-all; overflow-wrap: anywhere;
}
.work__sub { margin: 4px 0 0; font-weight: 700; letter-spacing: .14em; font-size: 13px; opacity: .6; }
.work__summary { margin: 18px 0 0; font-size: 15px; line-height: 1.85; max-width: 32em; color: var(--ink-soft); }
.work__open {
  margin-top: auto; padding-top: 24px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 900; letter-spacing: .24em;
}
.work__open svg { width: 30px; height: 18px; transition: transform .4s var(--ease-out); }
.work:hover .work__open svg { transform: translateX(6px); }
.work--soon { background-color: var(--board-2); }
.work--soon .work__title { color: var(--ink-soft); }

.work--next {
  background: transparent; border: 2.5px dashed rgba(0,0,0,.45); box-shadow: none;
  display: grid; place-content: center; text-align: center; justify-items: center;
  padding: 40px; text-decoration: none; min-height: clamp(220px, 26vw, 360px);
  border-radius: 6px;
  transition: background-color .3s, transform .3s var(--ease-out);
}
.work--next:hover { background-color: rgba(255,255,255,.25); transform: translateY(-3px); }
.work--next .work__title { font-size: clamp(30px, 3.4vw, 44px); opacity: .55; }
.work--next p { margin: 8px 0 0; font-size: 14px; opacity: .65; }
.work--next svg { width: 70px; margin: 0 auto 10px; opacity: .55; }

.status {
  display: inline-block;
  font-size: 11px; font-weight: 900; letter-spacing: .22em;
  padding: 5px 10px 4px 12px;
  border: 2px solid var(--ink); border-radius: 3px;
  transform: rotate(-2deg);
  background: var(--paper);
}
.status--soon, .status--idea { border-style: dashed; background: transparent; }
.status--development { background: var(--ink); color: var(--paper); }

/* ---------- CONTACT ---------- */
.contact__board { padding: clamp(36px, 6vw, 88px) clamp(22px, 6vw, 88px); }
.contact__grid { display: grid; gap: clamp(36px, 5vw, 72px); }
@media (min-width: 1040px) { .contact__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.form { display: grid; gap: 4px 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 900; font-size: 14px; letter-spacing: .14em; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 14px 16px; line-height: 1.6;
  background: var(--paper);
  border: 2px solid var(--line); border-radius: 3px 5px 4px 6px;
  box-shadow: inset 3px 3px 0 rgba(0,0,0,.07);
  transition: box-shadow .2s, transform .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 200px; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 3px 3px 0 rgba(0,0,0,.07), 0 0 0 3px var(--ink); }
.field.has-error input, .field.has-error textarea { border-style: dashed; border-width: 2.5px; }
.field__err { margin: 0; min-height: 1.6em; font-size: 13px; font-weight: 700; }
.field.has-error .field__err::before { content: "× "; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 10px; }
.form__note { margin: 0; font-size: 12.5px; color: var(--ink-soft); }
.btn {
  cursor: pointer; min-width: 220px;
  padding: 16px 40px; font-weight: 900; font-size: 16px; letter-spacing: .3em;
  background: var(--ink); color: var(--paper);
  border: 2px solid var(--ink); border-radius: 4px 6px 5px 3px;
  box-shadow: 6px 7px 0 var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-1px, -2px); box-shadow: 8px 9px 0 var(--shadow); }
.btn:active { transform: translate(4px, 5px); box-shadow: 1px 1px 0 var(--shadow); }
.btn[disabled] { opacity: .6; cursor: progress; }
.form__status { margin: 8px 0 0; font-weight: 700; min-height: 1.6em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.site-footer { padding: 30px var(--pad) 46px; text-align: center; font-size: 12px; letter-spacing: .2em; color: var(--ink-soft); }
.mini-mark { font-weight: 900; letter-spacing: 0; color: var(--ink); margin-right: 6px; }


/* =========================================================
   WORK PAGE (works/<id>.html)
   ========================================================= */
.site-header--page .mini-logo { opacity: 1; transform: none; }
.back-btn {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 18px;
  font-weight: 900; font-size: 14px; letter-spacing: .12em; text-decoration: none;
  background: var(--board); border: 2px solid var(--line); border-radius: 4px 6px 5px 3px;
  box-shadow: 4px 5px 0 var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.back-btn:hover { transform: translate(-1px, -2px); box-shadow: 6px 7px 0 var(--shadow); }
.back-btn:active { transform: translate(3px, 4px); box-shadow: 1px 1px 0 var(--shadow); }
.wp { padding: clamp(14px, 2.4vw, 32px); padding-bottom: 0; }
.wp__wall {
  min-height: calc(100svh - 2 * clamp(14px, 2.4vw, 32px));
  border-width: 2.5px;
  padding: clamp(110px, 16vh, 170px) clamp(22px, 7vw, 110px) clamp(60px, 9vh, 100px);
  display: grid; align-content: center; gap: clamp(36px, 5vw, 64px);
  box-shadow: inset 0 -30px 60px rgba(0,0,0,.06), 0 14px 0 var(--shadow);
  overflow: hidden;
}
@media (min-width: 1000px) {
  .wp__wall { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; }
}
.wp__wall .print--tl { top: 30px; left: 96px; }
.wp__status { margin: 0 0 18px; }
.wp__label { margin: 0 0 6px; font-weight: 900; font-size: clamp(16px, 1.6vw, 22px); letter-spacing: .08em; }
.wp__title {
  margin: 0;
  font-size: clamp(64px, 12vw, 190px); font-weight: 900; line-height: 1; letter-spacing: -.02em;
  color: var(--paper);
  -webkit-text-stroke: clamp(3px, .44vw, 6px) var(--ink);
  paint-order: stroke fill;
  text-shadow: 1px 1px 0 #a9a9a7, 2px 2px 0 #a3a3a1, 3px 3px 0 #9d9d9b, 4px 4px 0 #979795, 5px 5px 0 #91918f, 6px 6px 0 #8b8b89, 16px 20px 22px rgba(0,0,0,.22);
  word-break: keep-all; overflow-wrap: anywhere;
}
.wp__sub { margin: 16px 0 0; font-weight: 700; letter-spacing: .2em; font-size: 14px; opacity: .7; }
.wp__sheet { padding: clamp(26px, 3.5vw, 44px); transform: rotate(.6deg); background-color: var(--paper); }
.wp__body { min-height: clamp(200px, 26vw, 320px); font-size: clamp(15px, 1.3vw, 17px); line-height: 1.95; }
.wp__body p { margin: 0 0 1em; }
.wp__body p:last-child { margin-bottom: 0; }
.wp__summary { font-weight: 900; }
.wp__body.is-blank { /* blank on purpose: an empty sheet waiting for content */
  background-image: repeating-linear-gradient(180deg, transparent 0 38px, rgba(0,0,0,.07) 38px 39.5px);
}
.wp__back { text-align: center; margin: clamp(48px, 7vw, 90px) 0 clamp(10px, 2vw, 20px); }
.btn--back { display: inline-flex; justify-content: center; gap: 12px; text-decoration: none; letter-spacing: .16em; }
@media (max-width: 640px) {
  .back-btn { height: 48px; padding: 0 14px; font-size: 13px; letter-spacing: .06em; }
  .wp__wall { padding-top: 104px; padding-bottom: 84px; min-height: 0; }
  .wp__title { font-size: 18vw; }
  .wp__wall .print--tl { top: auto; bottom: 26px; left: 24px; }
  .wp__sheet { transform: none; }
  .btn--back { width: auto; }
}


/* ---------- work page with an embedded game (works/box-stack.html) ---------- */
.work-page--game .wp__title { font-size: clamp(56px, 7.4vw, 124px); }
.wp__how { margin: 28px 0 0; font-weight: 700; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.9; }
.wp__play { margin: 26px 0 0; }
.btn--play { display: inline-flex; gap: 12px; text-decoration: none; letter-spacing: .14em; }
.wp__body--side { margin-top: 32px; min-height: 0; }
.wp__body--side.is-blank { display: none; }
.wp__game {
  position: relative; justify-self: center;
  width: calc(min(76svh, 740px) * .8); max-width: 100%;
  padding: clamp(12px, 1.4vw, 18px);
  transform: rotate(-.5deg);
  background-color: var(--board);
}
.wp__game iframe {
  display: block; width: 100%; aspect-ratio: 4 / 5; height: auto;
  border: 2px solid var(--ink); border-radius: 3px;
  background: #f7f7f7;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
}
.wp__game:focus-within { outline: 3px dashed var(--ink); outline-offset: 6px; }
@media (min-width: 1000px) {
  .work-page--game .wp__wall { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 999px) {
  /* small screens: the game comes right after the title, the how-to + full-screen link below it */
  .work-page--game .wp__wall { display: flex; flex-direction: column; gap: 0; }
  .work-page--game .wp__head { display: contents; }
  .work-page--game .wp__head > * { order: 0; }
  .work-page--game .wp__game { order: 1; margin: 30px auto 0; }
  .work-page--game .wp__how, .work-page--game .wp__play, .work-page--game .wp__body { order: 2; }
  .wp__game { width: 100%; max-width: 560px; }
  .wp__game iframe { aspect-ratio: auto; height: min(60svh, 540px); }
}
@media (max-width: 640px) {
  .wp__game { transform: none; padding: 12px; }
  .work-page--game .wp__title { font-size: 14vw; }
  .work-page--game .wp__wall { padding-left: 16px; padding-right: 16px; }
  .work-page--game .wp__head > * { margin-left: 6px; margin-right: 6px; }
  .work-page--game .wp__play { margin-left: 0; margin-right: 0; }
  .btn--play { width: 100%; justify-content: center; }
}


/* ---------- GAMES hub (works/games.html) + game page variants ---------- */
.work-page--hub .wp__wall { grid-template-columns: 1fr !important; align-content: start; }
.work-page--hub .wp__title { font-size: clamp(64px, 11vw, 180px); }
.games__list { width: 100%; }
.games__list > li { display: grid; }
.games__list .work { min-height: clamp(190px, 20vw, 250px); height: 100%; }
.wp__how { max-width: 30em; }
.wp__back { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 28px; }
.wp__home { font-weight: 900; font-size: 14px; letter-spacing: .14em; color: var(--ink); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.wp__home:hover { text-decoration-style: wavy; }
/* PAPER PLANE: side-scrolling → wide frame under the title */
@media (min-width: 1000px) {
  .work-page--wide .wp__wall { grid-template-columns: 1fr; }
  .work-page--wide .wp__head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 56px; align-items: end; }
  .work-page--wide .wp__head > :not(.wp__how):not(.wp__play):not(.wp__body) { grid-column: 1; }
  .work-page--wide .wp__how { grid-column: 2; grid-row: 2 / 4; margin: 0; align-self: end; }
  .work-page--wide .wp__play { grid-column: 2; grid-row: 4; }
  .work-page--wide .wp__body { grid-column: 1 / -1; }
}
.wp__game--wide { width: min(100%, 1040px); }
.wp__game--wide iframe { aspect-ratio: 16 / 10; }
@media (max-width: 999px) {
  .wp__game--wide iframe, .wp__game--board iframe { height: auto; }
  .wp__game--wide iframe { aspect-ratio: 1 / 1; }
  .wp__game--board iframe { aspect-ratio: 4 / 5; }
}


/* ---------- DEMOS pages (works/demos/<id>.html) ---------- */
.work-page--demo .wp__title { font-size: clamp(44px, 5.6vw, 96px); word-break: normal; overflow-wrap: anywhere; }
.wp__note { margin: 16px 0 0; max-width: 34em; font-size: 13px; line-height: 1.8; opacity: .72; }
.wp__note::before { content: "※ "; }
/* direct-link demo (no frame): one column */
.work-page--open .wp__wall { grid-template-columns: 1fr !important; }
.work-page--open .wp__head { max-width: 860px; }
/* embedded app (FAQ bot): wide, a bit taller than a game */
.wp__game--app iframe { aspect-ratio: auto; height: min(74svh, 720px); background: #fff; }
@media (max-width: 999px) { .wp__game--app iframe { aspect-ratio: auto; height: min(72svh, 640px); } }
/* BOX BOT demo: the bot lives on a cardboard stage instead of the page corner */
.wp__game--bot { width: min(100%, 440px); min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; }
.bot-stage__hint { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .06em; opacity: .55; }
.boxbot.boxbot--inline { position: relative; right: auto; bottom: auto; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.boxbot--inline .boxbot__panel { position: relative; right: auto; left: auto; bottom: auto; width: 100%; max-height: 470px; animation: none; }
.boxbot--inline .boxbot__panel::after { bottom: -11px; }
.boxbot--inline .boxbot__launcher { margin-left: auto; margin-right: 14px; }
.boxbot--inline.is-tucked:not(.is-open) .boxbot__launcher { transform: none; opacity: 1; pointer-events: auto; }
@media (max-width: 999px) { .wp__game--bot { width: 100%; max-width: 560px; min-height: 0; } }
@media (max-width: 720px) {
  .boxbot--inline .boxbot__panel { position: relative; left: auto; right: auto; bottom: auto; max-height: min(600px, 74svh); }
  .boxbot--inline .boxbot__launcher { width: 70px; height: 70px; }
}


/* ---------- HP hub: cards with a site thumbnail (works/hp.html) ---------- */
.work--thumb { padding-top: clamp(20px, 2.4vw, 30px); }
.work__thumb {
  display: block; width: 100%; margin: 0 0 22px;
  padding: 6px; background: #fff;
  border: 2px solid var(--line); border-radius: 3px;
  box-shadow: 4px 5px 0 rgba(0,0,0,.16);
  transform: rotate(-.6deg);
  transition: transform .5s var(--ease-out);
}
.work__thumb img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
  filter: grayscale(1) contrast(1.02); transition: filter .45s ease;
}
/* someone else's colours: shown in grey on the cardboard, in colour when you reach for it */
.work--thumb:hover .work__thumb img, .work--thumb:focus-visible .work__thumb img { filter: none; }
.work--thumb:hover .work__thumb { transform: rotate(0deg); }
@media (hover: none) { .work__thumb img { filter: none; } }
.work--thumb .work__hole { top: auto; bottom: clamp(34px, 3.6vw, 48px); transform: none; }
.work--thumb .work__title { font-size: clamp(28px, 3vw, 44px); }
.status--sample { border-style: dashed; background: var(--paper); }
.wp__note--hub { margin-top: 22px; }
.wp__note--hub::before { content: ""; }
@media (prefers-reduced-motion: reduce) { .work__thumb, .work__thumb img { transition: none; } }

/* WORKS grid: an odd last tile (the NEXT X ? box) spans the full row so the grid still ends square */
@media (min-width: 760px) {
  .works__list > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .works__list > li:last-child:nth-child(odd) .work--next { min-height: clamp(180px, 16vw, 230px); }
}

/* ---------- mobile tuning ---------- */
@media (max-width: 640px) {
  .print--br { display: none; }
  .print--tl { top: 22px; left: 22px; }
  .top__kana { letter-spacing: .32em; padding-left: .32em; }
  .work { padding-right: 64px; }
  .work:hover { transform: rotateY(8deg); }
  .menu__sheet { width: 100%; }
  .stamp { letter-spacing: .22em; }
  .btn { width: 100%; }
  .about__visual { transform: none; }
  .js .about__visual.reveal.is-in, .js .loop__visual.reveal.is-in { transform: none; }
  .loop__visual { transform: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .draw .ln { stroke-dashoffset: 0; }
  .scroll-cue svg { animation: none; }
}

.social { display: flex; justify-content: center; padding: 40px var(--pad) 0; }
.social__link {
  display: inline-grid; place-items: center; width: 52px; height: 52px;
  color: var(--ink); background: var(--paper);
  border: 2px solid var(--ink); border-radius: 6px;
  box-shadow: 4px 4px 0 rgba(0,0,0,.22);
  transform: rotate(-2deg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.social__link svg { width: 22px; height: 22px; }
.social__link:hover { transform: rotate(0deg) translate(-2px,-2px); box-shadow: 6px 6px 0 rgba(0,0,0,.25); }
.social__link:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 rgba(0,0,0,.25); }
.social__link:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .social__link { transition: none; } }

/* HP hub: thumbnail cards. 2 across (4 sites → 2×2); exactly 3, or 5 and more, go 3 across on wide screens.
   No full-row stretch for an odd last card. */
@media (min-width: 760px) {
  .works__list.sites__list > li:last-child:nth-child(odd) { grid-column: auto; }
}
@media (min-width: 1100px) {
  .works__list.sites__list:has(> li:nth-child(3):last-child),
  .works__list.sites__list:has(> li:nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- AD（架空の広告）: 再利用できる小さな部品 ----------
   <aside class="ad ad--leaderboard | ad--rect" aria-label="広告（架空）">
     <span class="ad__label">広告（架空）</span>
     <img class="ad__img" src="…" width="…" height="…" alt="amadonの架空広告" title="架空の広告です。箱は届きません。" loading="lazy" decoding="async">
   </aside>
   （リンクにはしない。leaderboard は <picture> で 320×100 / 728×90 を切り替え） */
.ad { position: relative; display: table; margin: clamp(40px, 7vw, 80px) auto; padding: 8px;
  background: var(--paper, #f4f4f2); border: 1.5px solid var(--ink, #1a1a1a); border-radius: 3px;
  box-shadow: 4px 5px 0 rgba(0,0,0,.14); max-width: calc(100% - 40px); box-sizing: border-box; transform: rotate(-.4deg); }
.ad::before { content: ""; position: absolute; top: -9px; left: 50%; width: 74px; height: 18px; margin-left: -37px;
  background: rgba(225,225,218,.82); border: 1px solid rgba(0,0,0,.08); transform: rotate(-2.5deg);
  box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.ad__label { position: absolute; top: -10px; right: 10px; padding: 1px 7px; font-size: 10px; letter-spacing: .12em;
  line-height: 1.6; background: var(--paper, #f4f4f2); border: 1px solid var(--ink, #1a1a1a); color: var(--ink, #1a1a1a); }
.ad picture, .ad__img { display: block; }
.ad .ad__img { border: 0; padding: 0; box-sizing: content-box; }
.ad__img { max-width: 100%; height: auto; outline: 1px solid rgba(0,0,0,.25); outline-offset: -1px; }
.ad--leaderboard .ad__img { width: 728px; }
.ad--rect .ad__img { width: 300px; }
@media (max-width: 760px) {
  .ad--leaderboard .ad__img { width: 320px; }
}
