/* RyeType: showcase community for designers who write. Prefix: ry- */
:root {
  --ry-ink: #1d1b19;
  --ry-ink-2: #2b2825;
  --ry-ink-3: #3a3632;
  --ry-paper: #f7f3ed;
  --ry-card: #ffffff;
  --ry-line: #e7dfd4;
  --ry-line-2: #d8cdbf;
  --ry-text: #2a2724;
  --ry-mute: #675f57;
  --ry-amber: #e0a03e;
  --ry-amber-2: #eab35c;
  --ry-amber-deep: #8e520c;
  --ry-amber-soft: #fbecd2;
  --ry-pink: #f5c9c4;
  --ry-pink-soft: #fcece9;
  --ry-pink-deep: #a3384f;
  --ry-on-dark: #f4efe8;
  --ry-on-dark-mute: #c4bbb0;
  --ry-display: 'Unbounded', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --ry-sans: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ry-r-sm: 10px;
  --ry-r: 16px;
  --ry-r-lg: 24px;
  --ry-shadow: 0 1px 2px rgb(29 27 25 / 6%), 0 8px 24px -12px rgb(29 27 25 / 18%);
  --ry-shadow-lg: 0 2px 4px rgb(29 27 25 / 6%), 0 24px 48px -20px rgb(29 27 25 / 30%);
  --ry-wrap: 1240px;
  --ry-gut: clamp(16px, 4vw, 40px);
  --ry-focus: 0 0 0 3px var(--ry-paper), 0 0 0 5px var(--ry-ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ry-paper);
  color: var(--ry-text);
  font: 400 1rem/1.6 var(--ry-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ry-ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--ry-ink); outline-offset: 2px; border-radius: 6px; }
.ry-top :focus-visible, .ry-foot :focus-visible, .ry-wall :focus-visible, .ry-cta :focus-visible { outline-color: var(--ry-amber-2); }

.ry-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ry-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ry-amber); color: var(--ry-ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.ry-skip:focus { top: 12px; }
.ry-wrap { width: 100%; max-width: var(--ry-wrap); margin: 0 auto; padding: 0 var(--ry-gut); }
.ry-ico { width: 18px; height: 18px; flex: none; }
.ry-muted { color: var(--ry-mute); }
.ry-main { display: block; min-height: 60vh; }
.ry-main:focus { outline: none; }

/* ── Buttons & pills ─────────────────────────────── */
.ry-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .95rem/1 var(--ry-sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.ry-btn:hover { transform: translateY(-1px); }
.ry-btn--amber { background: var(--ry-amber); color: var(--ry-ink); }
.ry-btn--amber:hover { background: var(--ry-amber-2); box-shadow: 0 8px 20px -10px rgb(224 160 62 / 80%); }
.ry-btn--ink { background: var(--ry-ink); color: #fff; }
.ry-btn--ink:hover { background: var(--ry-ink-3); }
.ry-btn--ghost { background: var(--ry-card); color: var(--ry-ink); border-color: var(--ry-line-2); }
.ry-btn--ghost:hover { border-color: var(--ry-ink); }
.ry-btn--paper { background: var(--ry-paper); color: var(--ry-ink); border-color: var(--ry-ink); }
.ry-btn--paper:hover { background: #fff; }
.ry-btn--lg { min-height: 52px; padding: 0 24px; font-size: 1rem; }
.ry-btn--sm { min-height: 36px; padding: 0 14px; font-size: .875rem; }
.ry-btn--block { width: 100%; }
.ry-btn .ry-ico { width: 17px; height: 17px; }

.ry-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: var(--ry-card); border: 1px solid var(--ry-line-2); color: var(--ry-ink);
  font: 600 .82rem/1.2 var(--ry-sans); text-decoration: none; transition: background-color .15s, border-color .15s;
}
.ry-pill:hover { border-color: var(--ry-ink); }
.ry-pill--cat { background: var(--ry-amber-soft); border-color: transparent; color: var(--ry-amber-deep); }
.ry-pill--cat:hover { border-color: var(--ry-amber-deep); }
.ry-pill--cat .ry-ico { width: 15px; height: 15px; }
.ry-pill--dark { background: var(--ry-ink-2); border-color: var(--ry-ink-3); color: var(--ry-on-dark); }
.ry-pill--dark:hover { border-color: var(--ry-amber); }
.ry-pill--dark .ry-ico { width: 15px; height: 15px; color: var(--ry-amber-2); }

.ry-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ry-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; border-radius: 999px;
  background: var(--ry-card); border: 1px solid var(--ry-line-2); color: var(--ry-ink);
  font-weight: 600; font-size: .92rem; text-decoration: none; transition: all .15s;
}
.ry-chip:hover { border-color: var(--ry-ink); }
.ry-chip__n { min-width: 26px; padding: 3px 8px; border-radius: 999px; background: var(--ry-paper); font-size: .78rem; text-align: center; color: var(--ry-mute); }
.ry-chip.is-on { background: var(--ry-ink); border-color: var(--ry-ink); color: #fff; }
.ry-chip.is-on .ry-chip__n { background: var(--ry-amber); color: var(--ry-ink); }

.ry-kick { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 16%); color: var(--ry-on-dark); font: 600 .82rem/1.2 var(--ry-sans); letter-spacing: .02em; }
.ry-kick__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ry-pink); box-shadow: 0 0 0 4px rgb(245 201 196 / 22%); }
.ry-kick--dark { background: var(--ry-card); border-color: var(--ry-line-2); color: var(--ry-ink); }
.ry-kick--dark .ry-ico { width: 16px; height: 16px; color: var(--ry-amber-deep); }
.ry-eyebrow { font: 700 .78rem/1.2 var(--ry-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ry-amber-deep); margin-bottom: 12px; }
.ry-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ry-ink); text-decoration: none; border-bottom: 2px solid var(--ry-amber); padding-bottom: 2px; }
.ry-link .ry-ico { width: 16px; height: 16px; }

/* ── Top bar ─────────────────────────────────────── */
.ry-top { position: sticky; top: 0; z-index: 50; background: var(--ry-ink); color: var(--ry-on-dark); border-bottom: 1px solid #000; }
.ry-top__in { max-width: var(--ry-wrap); margin: 0 auto; padding: 0 var(--ry-gut); height: 68px; display: flex; align-items: center; gap: 24px; }
.ry-brand { display: inline-flex; align-items: center; text-decoration: none; border-radius: 12px; }
.ry-brand__svg { height: 36px; width: auto; }
.ry-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.ry-nav__l { list-style: none; display: flex; gap: 4px; }
.ry-nav__a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; color: var(--ry-on-dark-mute); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background-color .15s, color .15s; }
.ry-nav__a:hover { color: #fff; background: var(--ry-ink-2); }
.ry-nav__a[aria-current='page'] { color: var(--ry-ink); background: var(--ry-pink); }
.ry-nav__a .ry-ico { width: 17px; height: 17px; }
.ry-burger { display: none; margin-left: auto; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ry-ink-3); background: var(--ry-ink-2); color: #fff; font-weight: 600; cursor: pointer; }

/* ── Footer ──────────────────────────────────────── */
.ry-foot { margin-top: 96px; background: var(--ry-ink); color: var(--ry-on-dark-mute); }
.ry-main--home + .ry-foot { margin-top: 0; }
.ry-foot__in { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; padding-top: 56px; padding-bottom: 40px; }
.ry-foot__brand p { margin-top: 16px; max-width: 34ch; line-height: 1.6; }
.ry-foot__rss { display: flex; flex-wrap: wrap; gap: 8px; }
.ry-foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ry-foot__h { font: 700 .78rem/1.2 var(--ry-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ry-amber-2); margin-bottom: 14px; }
.ry-foot__cols ul { list-style: none; display: grid; gap: 10px; }
.ry-foot__cols a { color: var(--ry-on-dark); text-decoration: none; }
.ry-foot__cols a:hover { color: var(--ry-pink); text-decoration: underline; text-underline-offset: 4px; }
.ry-foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--ry-ink-3); font-size: .9rem; }

/* ── Home: hero ──────────────────────────────────── */
.ry-hero { background: var(--ry-ink); color: var(--ry-on-dark); padding: 72px 0 96px; position: relative; overflow: hidden; }
.ry-hero::before { content: ''; position: absolute; inset: auto -10% -45% auto; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle, rgb(224 160 62 / 28%), transparent 65%); pointer-events: none; }
.ry-hero::after { content: ''; position: absolute; left: -200px; top: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgb(245 201 196 / 14%), transparent 65%); pointer-events: none; }
.ry-hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.ry-hero__t { margin-top: 24px; font: 700 clamp(2.2rem, 4.4vw, 3.5rem)/1.06 var(--ry-display); letter-spacing: -.035em; color: #fff; }
.ry-hero__t span { display: block; color: var(--ry-amber-2); }
.ry-hero__p { margin-top: 24px; max-width: 52ch; font-size: 1.15rem; line-height: 1.65; color: var(--ry-on-dark-mute); }
.ry-hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.ry-hero .ry-btn--ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / 30%); }
.ry-hero .ry-btn--ghost:hover { border-color: #fff; }
.ry-hero__facts { margin-top: 36px; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: var(--ry-on-dark-mute); }
.ry-hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.ry-hero__facts .ry-ico { color: var(--ry-pink); width: 17px; height: 17px; }

.ry-hero__art { position: relative; min-height: 540px; }
.ry-collage { position: absolute; inset: 0; }
.ry-col { position: absolute; margin: 0; border-radius: var(--ry-r-lg); overflow: hidden; background: var(--ry-ink-3); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 70%); }
.ry-col img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ry-col:hover img { transform: scale(1.04); }
.ry-col--a { right: 0; top: 0; width: 70%; aspect-ratio: 4 / 3; }
.ry-col--b { right: 0; bottom: 0; width: 40%; aspect-ratio: 1; transform: rotate(3deg); border: 6px solid var(--ry-ink); z-index: 1; }
.ry-col--c { left: 2%; top: 4%; width: 30%; aspect-ratio: 3 / 4; transform: rotate(-4deg); border: 6px solid var(--ry-ink); }
.ry-col__tag { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; background: rgb(29 27 25 / 78%); color: #fff; font: 600 .78rem/1.2 var(--ry-sans); backdrop-filter: blur(6px); }

.ry-signin {
  position: absolute; left: 0; bottom: 0; z-index: 2; width: min(310px, 60%);
  padding: 22px; border-radius: var(--ry-r-lg); background: var(--ry-card); color: var(--ry-text);
  box-shadow: 0 30px 60px -24px rgb(0 0 0 / 60%), 0 0 0 1px rgb(0 0 0 / 4%);
}
.ry-signin__top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ry-signin__mark { width: 36px; height: 36px; }
.ry-signin__t { font: 700 1.05rem/1.2 var(--ry-display); letter-spacing: -.02em; }
.ry-signin__s { font-size: .85rem; color: var(--ry-mute); }
.ry-signin .ry-label { margin-top: 10px; }
.ry-signin .ry-btn { margin-top: 16px; }
.ry-signin__note { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .85rem; color: var(--ry-mute); }
.ry-signin__note .ry-ico { width: 15px; height: 15px; }

/* ── Home: sections ──────────────────────────────── */
.ry-head { max-width: 680px; margin-bottom: 40px; }
.ry-head__t { font: 700 clamp(1.7rem, 3.4vw, 2.6rem)/1.12 var(--ry-display); letter-spacing: -.03em; }
.ry-head__p { margin-top: 14px; font-size: 1.08rem; color: var(--ry-mute); }
.ry-head--dark .ry-head__t { color: #fff; }
.ry-head--dark .ry-head__p { color: var(--ry-on-dark-mute); }
.ry-head--dark .ry-eyebrow { color: var(--ry-amber-2); }

.ry-band { padding: 96px 0; }
.ry-feats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ry-feat { padding: 26px; border-radius: var(--ry-r-lg); background: var(--ry-card); border: 1px solid var(--ry-line); box-shadow: var(--ry-shadow); transition: transform .2s, box-shadow .2s; }
.ry-feat:hover { transform: translateY(-3px); box-shadow: var(--ry-shadow-lg); }
.ry-feat__i { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--ry-amber-soft); color: var(--ry-amber-deep); }
.ry-feat:nth-child(2n) .ry-feat__i { background: var(--ry-pink-soft); color: var(--ry-pink-deep); }
.ry-feat h3 { margin-top: 20px; font: 600 1.08rem/1.25 var(--ry-display); letter-spacing: -.02em; }
.ry-feat p { margin-top: 10px; color: var(--ry-mute); font-size: .97rem; }
.ry-band__more { margin-top: 32px; }

.ry-wall { background: var(--ry-ink); padding: 96px 0; }
.ry-wall__grid { list-style: none; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.ry-wall__item { position: relative; border-radius: var(--ry-r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ry-ink-3); }
.ry-wall__item:first-child { aspect-ratio: auto; }
.ry-wall__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ry-wall__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgb(17 15 13 / 92%)); }
.ry-wall__item:hover img { transform: scale(1.05); }
.ry-wall__cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 24px; color: #fff; }
.ry-wall__k { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--ry-pink); color: var(--ry-ink); font: 700 .75rem/1.2 var(--ry-sans); letter-spacing: .04em; }
.ry-wall__cap h3 { margin-top: 12px; color: #fff; font: 600 1.2rem/1.25 var(--ry-display); letter-spacing: -.02em; }
.ry-wall__b { margin-top: 8px; color: #e7e0d7; font-size: .96rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s ease, opacity .35s ease; }
.ry-wall__item:hover .ry-wall__b { max-height: 8em; opacity: 1; }

.ry-steps { padding: 96px 0 72px; }
.ry-steps__in { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.ry-steps__l { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ry-steps__l li { padding: 24px; border-radius: var(--ry-r-lg); border: 1.5px dashed var(--ry-line-2); }
.ry-steps__n { font: 800 2rem/1 var(--ry-display); color: var(--ry-amber); letter-spacing: -.04em; }
.ry-steps__l h3 { margin-top: 16px; font: 600 1.05rem/1.25 var(--ry-display); letter-spacing: -.02em; }
.ry-steps__l p { margin-top: 8px; color: var(--ry-mute); font-size: .96rem; }
.ry-steps__l a { color: var(--ry-amber-deep); font-weight: 600; }

.ry-cta { padding: 0 0 96px; }
.ry-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ry-cta .ry-wrap { background: var(--ry-pink); border-radius: 32px; padding: 48px clamp(24px, 5vw, 56px); max-width: calc(var(--ry-wrap) - 2 * var(--ry-gut)); width: calc(100% - 2 * var(--ry-gut)); position: relative; overflow: hidden; }
.ry-cta .ry-wrap::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgb(224 160 62 / 45%); pointer-events: none; }
.ry-cta__t { font: 700 clamp(1.5rem, 3vw, 2.2rem)/1.15 var(--ry-display); letter-spacing: -.03em; }
.ry-cta p { margin-top: 10px; color: var(--ry-ink-2); font-size: 1.05rem; }
.ry-cta__b { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

/* ── Forms ───────────────────────────────────────── */
.ry-label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; color: var(--ry-ink); }
.ry-input {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--ry-line-2);
  background: #fff; color: var(--ry-ink); font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.ry-input::placeholder { color: #8a8178; }
.ry-input:hover { border-color: #b9ad9e; }
.ry-input:focus { outline: none; border-color: var(--ry-ink); box-shadow: 0 0 0 4px rgb(224 160 62 / 35%); }
textarea.ry-input { resize: vertical; min-height: 130px; line-height: 1.55; }
.ry-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ry-ink) 50%), linear-gradient(135deg, var(--ry-ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.ry-field { margin-top: 16px; }
.ry-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ry-form__row .ry-field { margin-top: 0; }
.ry-form__foot { margin-top: 20px; display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.ry-form__note { font-size: .88rem; color: var(--ry-mute); }
.ry-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.ry-status { min-height: 1.5em; font-size: .92rem; font-weight: 600; color: var(--ry-amber-deep); flex: 1 1 220px; }
.ry-status:empty { min-height: 0; }
.ry-flash { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 16px 18px; border-radius: var(--ry-r); font-weight: 500; }
.ry-flash .ry-ico { margin-top: 2px; }
.ry-flash--ok { background: #e7f3e9; color: #1d5a2c; border: 1px solid #b6d9bd; }
.ry-flash--warn { background: var(--ry-pink-soft); color: #7d2337; border: 1px solid #efb9b4; }
.ry-form--contact { margin-top: 28px; padding: 28px; border-radius: var(--ry-r-lg); background: var(--ry-card); border: 1px solid var(--ry-line); box-shadow: var(--ry-shadow); }

/* ── Shot cards ──────────────────────────────────── */
.ry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.ry-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; }
.ry-shot { display: flex; flex-direction: column; min-width: 0; }
.ry-shot__media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--ry-r); overflow: hidden; background: var(--ry-line); box-shadow: var(--ry-shadow); }
.ry-shot__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ry-shot__veil {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 18px;
  background: linear-gradient(180deg, rgb(29 27 25 / 10%) 0%, rgb(29 27 25 / 88%) 75%); color: #fff;
  opacity: 0; transition: opacity .25s ease;
}
.ry-shot__ex { font-size: .92rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: #f2ece4; }
.ry-shot__go { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--ry-amber); color: var(--ry-ink); font-weight: 700; font-size: .85rem; }
.ry-shot__go .ry-ico { width: 15px; height: 15px; }
.ry-shot:hover .ry-shot__veil, .ry-shot:focus-within .ry-shot__veil { opacity: 1; }
.ry-shot:hover .ry-shot__img { transform: scale(1.05); }
.ry-shot__body { padding: 14px 4px 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ry-shot__body > .ry-pill { align-self: flex-start; }
.ry-shot__t { font: 600 1.08rem/1.3 var(--ry-display); letter-spacing: -.02em; }
.ry-shot__t a { text-decoration: none; background-image: linear-gradient(var(--ry-amber), var(--ry-amber)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s; }
.ry-shot__t a:hover { background-size: 100% 2px; }
.ry-shot__x { color: var(--ry-mute); font-size: .94rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ry-shot__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; font-size: .86rem; color: var(--ry-mute); }
.ry-shot__d { white-space: nowrap; }
.ry-shot__acts { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--ry-line); }
.ry-act { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; margin: 0 -10px; border-radius: 999px; color: var(--ry-ink); text-decoration: none; font-weight: 600; font-size: .88rem; transition: background-color .15s; }
.ry-act:hover { background: var(--ry-pink-soft); }
.ry-act .ry-ico { width: 17px; height: 17px; }
.ry-act__n { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--ry-paper); border: 1px solid var(--ry-line); color: var(--ry-ink); font-size: .78rem; text-align: center; }
.ry-act--read { color: var(--ry-amber-deep); }
.ry-act--read:hover { background: var(--ry-amber-soft); }
.ry-act--box { margin: 0; padding: 9px 16px; border: 1px solid var(--ry-line-2); background: var(--ry-card); }

/* Type specimen (no cover) */
.ry-spec { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--ry-amber); color: var(--ry-ink); }
.ry-spec--1 { background: var(--ry-pink); }
.ry-spec--2 { background: var(--ry-ink); color: var(--ry-amber-2); }
.ry-spec--3 { background: #efe4d3; color: var(--ry-ink); }
.ry-spec__g { position: absolute; right: 6%; bottom: -12%; font: 800 clamp(7rem, 15vw, 11rem)/1 var(--ry-display); letter-spacing: -.06em; }
.ry-spec__l { position: absolute; left: 16px; top: 16px; padding: 4px 10px; border-radius: 999px; border: 1.5px solid currentColor; font: 700 .75rem/1.2 var(--ry-sans); letter-spacing: .06em; text-transform: uppercase; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ry-spec__r { position: absolute; left: 16px; right: 16px; top: 52%; height: 0; border-top: 1.5px dashed currentColor; opacity: .45; }
.ry-spec__r::after { content: ''; position: absolute; left: 0; right: 0; top: 22%; border-top: 1.5px dashed currentColor; transform: translateY(32px); }
.ry-spec--2 .ry-spec__l { color: var(--ry-on-dark); }

/* ── Avatars & author chips ──────────────────────── */
.ry-ava { border-radius: 50%; object-fit: cover; background: var(--ry-line); flex: none; }
.ry-ava--xs { width: 26px; height: 26px; }
.ry-ava--sm { width: 34px; height: 34px; }
.ry-ava--md { width: 46px; height: 46px; }
.ry-ava--lg { width: 72px; height: 72px; }
.ry-ava--xl { width: 132px; height: 132px; border: 5px solid var(--ry-paper); box-shadow: var(--ry-shadow-lg); }
.ry-who { display: inline-flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: var(--ry-ink); }
.ry-who__t { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ry-who__n { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ry-who__h { color: var(--ry-mute); font-size: .85em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ry-who:hover .ry-who__n { text-decoration: underline; text-underline-offset: 3px; }
.ry-who--xs { gap: 8px; font-size: .86rem; }
.ry-who--xs .ry-who__t { flex-direction: row; gap: 6px; align-items: baseline; }
.ry-who--md { gap: 12px; }

/* ── Profile ─────────────────────────────────────── */
.ry-banner { position: relative; height: clamp(180px, 26vw, 320px); overflow: hidden; background: var(--ry-amber); }
.ry-banner img { width: 100%; height: 100%; object-fit: cover; }
.ry-banner.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgb(29 27 25 / 35%)); }
.ry-banner__pat { position: absolute; inset: 0; background:
  radial-gradient(circle at 18% 120%, var(--ry-pink) 0 22%, transparent 22.2%),
  radial-gradient(circle at 88% -10%, var(--ry-ink) 0 18%, transparent 18.2%),
  radial-gradient(rgb(29 27 25 / 22%) 1.4px, transparent 1.6px) 0 0 / 18px 18px; }
.ry-banner--1 { background: var(--ry-pink); }
.ry-banner--1 .ry-banner__pat { background: radial-gradient(circle at 82% 130%, var(--ry-amber) 0 26%, transparent 26.2%), radial-gradient(circle at 8% -20%, var(--ry-ink) 0 16%, transparent 16.2%), radial-gradient(rgb(29 27 25 / 20%) 1.4px, transparent 1.6px) 0 0 / 18px 18px; }
.ry-banner--2 { background: var(--ry-ink); }
.ry-banner--2 .ry-banner__pat { background: radial-gradient(circle at 70% 140%, var(--ry-amber) 0 30%, transparent 30.2%), radial-gradient(circle at 20% -30%, var(--ry-pink) 0 20%, transparent 20.2%), radial-gradient(rgb(255 255 255 / 14%) 1.4px, transparent 1.6px) 0 0 / 18px 18px; }
.ry-banner--3 { background: #efe4d3; }

.ry-pcard { position: relative; margin-top: -76px; z-index: 2; }
.ry-pcard__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ry-pcard__cta { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 8px; }
.ry-pcard__cta .ry-btn--ghost { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.ry-pcard__id { margin-top: 18px; max-width: 760px; }
.ry-pcard__n { font: 700 clamp(1.8rem, 4vw, 2.8rem)/1.1 var(--ry-display); letter-spacing: -.035em; }
.ry-pcard__h { margin-top: 6px; color: var(--ry-mute); font-weight: 500; }
.ry-pcard__bio { margin-top: 16px; font-size: 1.08rem; line-height: 1.6; max-width: 62ch; }
.ry-stats { list-style: none; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ry-mute); font-size: .95rem; }
.ry-stats li { display: inline-flex; align-items: center; gap: 6px; }
.ry-stats strong { color: var(--ry-ink); font-weight: 700; font-size: 1.05rem; }
.ry-stats .ry-ico { width: 16px; height: 16px; }

.ry-tabs { position: sticky; top: 68px; z-index: 20; margin-top: 32px; background: rgb(247 243 237 / 94%); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ry-line); }
.ry-tabs__in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.ry-tab { display: inline-flex; align-items: center; gap: 8px; padding: 16px 14px 14px; border-bottom: 3px solid transparent; color: var(--ry-mute); text-decoration: none; font-weight: 600; white-space: nowrap; }
.ry-tab:hover { color: var(--ry-ink); }
.ry-tab.is-on { color: var(--ry-ink); border-bottom-color: var(--ry-amber); }
.ry-tab .ry-ico { width: 17px; height: 17px; }
.ry-tab__n { padding: 2px 8px; border-radius: 999px; background: var(--ry-line); color: var(--ry-ink); font-size: .78rem; }

.ry-pbody { padding-top: 36px; }
.ry-sec { scroll-margin-top: 140px; }
.ry-sec__h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.ry-sec__h h2 { font: 700 1.4rem/1.2 var(--ry-display); letter-spacing: -.025em; }
.ry-pbody__split { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; margin-top: 72px; align-items: start; }
.ry-aboutcard { padding: 28px; border-radius: var(--ry-r-lg); background: var(--ry-card); border: 1px solid var(--ry-line); }
.ry-aboutcard__bio { font-size: 1.05rem; margin-bottom: 18px; }
.ry-facts { margin: 22px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; padding-top: 18px; border-top: 1px solid var(--ry-line); }
.ry-facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ry-mute); }
.ry-facts dd { margin: 4px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.ry-facts a { color: var(--ry-amber-deep); }

.ry-empty { display: grid; justify-items: center; gap: 12px; padding: 56px 24px; border-radius: var(--ry-r-lg); border: 1.5px dashed var(--ry-line-2); text-align: center; color: var(--ry-mute); }
.ry-empty .ry-ico { width: 32px; height: 32px; color: var(--ry-amber-deep); }

.ry-pager { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ry-pager__pos { color: var(--ry-mute); font-weight: 600; font-size: .92rem; }

/* ── Listing headers (category/topic) ───────────── */
.ry-lhead { padding: 56px 0 40px; border-bottom: 1px solid var(--ry-line); background: linear-gradient(180deg, var(--ry-amber-soft), var(--ry-paper)); }
.ry-lhead--topic { background: linear-gradient(180deg, var(--ry-pink-soft), var(--ry-paper)); }
.ry-lhead__by { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ry-lhead__by .ry-muted { padding-left: 14px; border-left: 1px solid var(--ry-line-2); font-weight: 600; font-size: .9rem; }
.ry-lhead__t { margin-top: 18px; font: 700 clamp(2rem, 5vw, 3.4rem)/1.08 var(--ry-display); letter-spacing: -.035em; overflow-wrap: anywhere; }
.ry-lhead__t span { color: var(--ry-amber); }
.ry-lhead__m { margin-top: 12px; color: var(--ry-mute); font-size: 1.05rem; }
.ry-chips--nav { margin-top: 24px; }
.ry-stack { list-style: none; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.ry-stack li { padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--ry-card); border: 1px solid var(--ry-line); }
.ry-lbody { padding-top: 40px; }

/* ── Post ────────────────────────────────────────── */
.ry-postwrap { padding-top: 40px; }
.ry-post__head { max-width: 900px; }
.ry-post__by { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--ry-r); background: var(--ry-card); border: 1px solid var(--ry-line); margin-bottom: 26px; }
.ry-post__t { margin-top: 16px; font: 700 clamp(1.85rem, 4.4vw, 3.2rem)/1.12 var(--ry-display); letter-spacing: -.035em; overflow-wrap: anywhere; }
.ry-post__meta { list-style: none; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ry-mute); font-size: .95rem; }
.ry-post__meta li, .ry-post__meta a { display: inline-flex; align-items: center; gap: 7px; }
.ry-post__meta a { color: var(--ry-ink); font-weight: 600; text-decoration: none; }
.ry-post__meta a:hover { text-decoration: underline; }
.ry-post__meta .ry-ico { width: 16px; height: 16px; }
.ry-post__cover { margin: 34px 0 0; border-radius: var(--ry-r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ry-line); box-shadow: var(--ry-shadow-lg); }
.ry-post__cover img { width: 100%; height: 100%; object-fit: cover; }
.ry-post__cover--spec { aspect-ratio: 16 / 6; }
.ry-spec--wide .ry-spec__g { font-size: clamp(8rem, 22vw, 16rem); right: 5%; bottom: -22%; }
.ry-post__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; margin-top: 44px; align-items: start; }
.ry-post__main { min-width: 0; max-width: 740px; }
.ry-post__side { position: sticky; top: 92px; display: grid; gap: 16px; }
.ry-post__end { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--ry-line); display: grid; gap: 18px; }
.ry-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ry-post__acts { display: flex; flex-wrap: wrap; gap: 10px; }

.ry-box { padding: 20px; border-radius: var(--ry-r); background: var(--ry-card); border: 1px solid var(--ry-line); }
.ry-box__t { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font: 700 .78rem/1.2 var(--ry-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ry-mute); }
.ry-box__t .ry-ico { width: 16px; height: 16px; color: var(--ry-amber-deep); }
.ry-toc ol { list-style: none; counter-reset: ry-toc; display: grid; gap: 2px; }
.ry-toc li { counter-increment: ry-toc; }
.ry-toc a { display: flex; gap: 10px; padding: 7px 8px; margin: 0 -8px; border-radius: 8px; color: var(--ry-ink); text-decoration: none; font-size: .93rem; line-height: 1.4; }
.ry-toc a::before { content: counter(ry-toc, decimal-leading-zero); font: 700 .75rem/1.6 var(--ry-display); color: var(--ry-amber-deep); }
.ry-toc a:hover { background: var(--ry-amber-soft); }
.ry-mini__top { display: flex; align-items: center; gap: 12px; }
.ry-mini__n { font-weight: 700; color: var(--ry-ink); text-decoration: none; }
.ry-mini__n:hover { text-decoration: underline; }
.ry-mini__h { font-size: .86rem; color: var(--ry-mute); }
.ry-mini__bio { margin-top: 12px; font-size: .93rem; color: var(--ry-mute); }
.ry-mini__b { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }

/* Prose */
.ry-prose { font-size: 1.1rem; line-height: 1.78; color: var(--ry-text); overflow-wrap: break-word; }
.ry-prose > * + * { margin-top: 1.15em; }
.ry-prose h2 { margin-top: 1.9em; font: 700 1.45rem/1.3 var(--ry-display); letter-spacing: -.025em; scroll-margin-top: 96px; }
.ry-prose h3 { margin-top: 1.6em; font: 600 1.15rem/1.35 var(--ry-display); letter-spacing: -.02em; }
.ry-prose h4 { margin-top: 1.4em; font-weight: 700; }
.ry-prose a { color: var(--ry-amber-deep); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.ry-prose a:hover { color: var(--ry-ink); text-decoration-color: var(--ry-amber); }
.ry-prose ul, .ry-prose ol { padding-left: 1.4em; }
.ry-prose li + li { margin-top: .4em; }
.ry-prose li::marker { color: var(--ry-amber-deep); font-weight: 700; }
.ry-prose blockquote { margin-left: 0; margin-right: 0; padding: 18px 22px; border-radius: 0 var(--ry-r) var(--ry-r) 0; border-left: 4px solid var(--ry-amber); background: var(--ry-amber-soft); color: var(--ry-ink); font-size: 1.12em; }
.ry-prose blockquote > * + * { margin-top: .6em; }
.ry-prose img { border-radius: var(--ry-r); height: auto; }
.ry-prose figure { margin-left: 0; margin-right: 0; }
.ry-prose figcaption { margin-top: 8px; font-size: .88rem; color: var(--ry-mute); }
.ry-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; padding: 2px 6px; border-radius: 6px; background: #efe8de; }
.ry-prose pre { overflow-x: auto; padding: 16px 18px; border-radius: var(--ry-r); background: var(--ry-ink); color: var(--ry-on-dark); font-size: .9rem; }
.ry-prose pre code { background: none; padding: 0; }
.ry-prose hr { border: 0; height: 1px; background: var(--ry-line-2); margin: 2em 0; }
.ry-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.ry-prose th, .ry-prose td { padding: 10px 12px; border-bottom: 1px solid var(--ry-line); text-align: left; }
.ry-prose th { font-weight: 700; color: var(--ry-ink); }
.ry-prose--hub { font-size: 1rem; line-height: 1.7; }
.ry-prose--hub h2, .ry-prose--hub h3 { font-size: 1.05rem; margin-top: 1.4em; }
.ry-prose--hub > :first-child { margin-top: 0; }

/* Thread */
.ry-thread { max-width: 900px; margin: 72px 0 0; padding: 32px; border-radius: var(--ry-r-lg); background: var(--ry-card); border: 1px solid var(--ry-line); scroll-margin-top: 88px; }
.ry-thread__h { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.ry-thread__h h2 { font: 700 1.4rem/1.2 var(--ry-display); letter-spacing: -.025em; }
.ry-count { min-width: 30px; padding: 3px 10px; border-radius: 999px; background: var(--ry-amber); color: var(--ry-ink); font-weight: 700; font-size: .85rem; text-align: center; }
.ry-thread__none { display: flex; align-items: center; gap: 8px; padding: 16px 0 8px; }
.ry-replies { list-style: none; display: grid; gap: 18px; position: relative; }
.ry-reply { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; scroll-margin-top: 96px; }
.ry-reply + .ry-reply { position: relative; }
.ry-ini { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 .85rem/1 var(--ry-display); background: var(--ry-amber); color: var(--ry-ink); }
.ry-ini--1 { background: var(--ry-pink); }
.ry-ini--2 { background: var(--ry-ink); color: var(--ry-amber-2); }
.ry-ini--3 { background: #efe4d3; }
.ry-ini--you { background: var(--ry-ink); color: var(--ry-amber-2); }
.ry-ini--you .ry-ico { width: 20px; height: 20px; }
.ry-reply__b { padding: 14px 18px; border-radius: 4px 18px 18px 18px; background: var(--ry-paper); border: 1px solid var(--ry-line); }
.ry-reply.is-author .ry-reply__b { background: var(--ry-amber-soft); border-color: #f0d6a8; }
.ry-reply__h { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-size: .9rem; color: var(--ry-mute); }
.ry-reply__h strong { color: var(--ry-ink); font-size: .98rem; }
.ry-badge { padding: 2px 9px; border-radius: 999px; background: var(--ry-ink); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .03em; }
.ry-reply__x { margin-top: 6px; line-height: 1.65; overflow-wrap: anywhere; }
.ry-reply__x p + p { margin-top: .6em; }
.ry-compose { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--ry-line); }
.ry-compose__h { display: flex; gap: 14px; align-items: center; }
.ry-compose__h h3 { font: 700 1.1rem/1.2 var(--ry-display); letter-spacing: -.02em; }
.ry-compose__h p { font-size: .92rem; margin-top: 4px; }

.ry-more { margin-top: 80px; }

/* ── Docs ────────────────────────────────────────── */
.ry-dochead { padding: 64px 0 44px; background: linear-gradient(180deg, var(--ry-amber-soft), var(--ry-paper)); border-bottom: 1px solid var(--ry-line); }
.ry-dochead__t { margin-top: 18px; font: 700 clamp(2rem, 5vw, 3.4rem)/1.08 var(--ry-display); letter-spacing: -.035em; }
.ry-doc { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; padding-top: 44px; align-items: start; }
.ry-doc__body { min-width: 0; max-width: 760px; }
.ry-doc__side { position: sticky; top: 92px; display: grid; gap: 16px; }
.ry-doc--wide { grid-template-columns: 1fr; }
.ry-doc--wide .ry-doc__body { max-width: none; }
.ry-doc--wide .ry-prose > p, .ry-doc--wide .ry-prose > ul { max-width: 72ch; }
.ry-prose--doc { font-size: 1.05rem; }
.ry-prose--doc > :first-child { margin-top: 0; }
.ry-lead { font-size: 1.2rem; line-height: 1.65; color: var(--ry-ink); }
.ry-doc__upd { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--ry-pink-soft); color: var(--ry-pink-deep); font-weight: 600; font-size: .88rem; }
.ry-docnav ul { list-style: none; display: grid; gap: 2px; }
.ry-docnav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; color: var(--ry-ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.ry-docnav a .ry-ico { width: 17px; height: 17px; color: var(--ry-mute); }
.ry-docnav a:hover { background: var(--ry-paper); }
.ry-docnav a[aria-current='page'] { background: var(--ry-ink); color: #fff; }
.ry-docnav a[aria-current='page'] .ry-ico { color: var(--ry-amber-2); }

.ry-fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ry-prose .ry-fgrid { margin-top: 1.2em; }
.ry-fcard { padding: 22px; border-radius: var(--ry-r-lg); background: var(--ry-card); border: 1px solid var(--ry-line); font-size: .97rem; line-height: 1.6; }
.ry-fcard > .ry-ico { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--ry-amber-soft); color: var(--ry-amber-deep); }
.ry-fgrid .ry-fcard:nth-child(2n) > .ry-ico { background: var(--ry-pink-soft); color: var(--ry-pink-deep); }
.ry-prose .ry-fcard h3 { margin-top: 16px; font-size: 1.02rem; }
.ry-fcard p { margin-top: 8px; color: var(--ry-mute); }
.ry-checks { list-style: none; padding-left: 0 !important; display: grid; gap: 10px; }
.ry-checks li { position: relative; padding: 14px 16px 14px 48px; border-radius: var(--ry-r); background: var(--ry-card); border: 1px solid var(--ry-line); }
.ry-checks li::before { content: ''; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%; background: var(--ry-pink); box-shadow: inset 0 0 0 5px var(--ry-pink-deep); }

.ry-qa { border-radius: var(--ry-r); background: var(--ry-card); border: 1px solid var(--ry-line); }
.ry-prose .ry-qa + .ry-qa { margin-top: 10px; }
.ry-qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; font-weight: 600; color: var(--ry-ink); border-radius: var(--ry-r); }
.ry-qa summary::-webkit-details-marker { display: none; }
.ry-qa summary::after { content: '+'; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ry-amber-soft); color: var(--ry-amber-deep); font: 700 1.1rem/1 var(--ry-sans); transition: transform .2s; }
.ry-qa[open] summary::after { transform: rotate(45deg); background: var(--ry-amber); color: var(--ry-ink); }
.ry-qa summary:hover { background: var(--ry-paper); }
.ry-qa__a { padding: 0 20px 16px; color: var(--ry-text); }
.ry-qa__a > * + * { margin-top: .7em; }

/* ── 404 ─────────────────────────────────────────── */
.ry-404 { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; padding-top: 72px; }
.ry-spec--nf { aspect-ratio: 1; border-radius: 32px; box-shadow: var(--ry-shadow-lg); }
.ry-spec--nf .ry-spec__g { font-size: clamp(4.5rem, 10vw, 8.5rem); right: 7%; bottom: 7%; }
.ry-404__t { margin-top: 18px; font: 700 clamp(2rem, 5vw, 3.2rem)/1.08 var(--ry-display); letter-spacing: -.035em; }
.ry-404 .ry-muted { margin-top: 14px; font-size: 1.08rem; max-width: 46ch; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1100px) {
  .ry-feats { grid-template-columns: repeat(2, 1fr); }
  .ry-fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ry-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ry-steps__in { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 980px) {
  .ry-hero__in { grid-template-columns: 1fr; }
  .ry-hero__art { min-height: 520px; }
  .ry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ry-post__grid, .ry-doc { grid-template-columns: 1fr; gap: 40px; }
  .ry-post__side, .ry-doc__side { position: static; }
  .ry-post__side { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .ry-doc__side { order: -1; }
  .ry-doc__side .ry-docnav { display: none; }
  .ry-pbody__split { grid-template-columns: 1fr; gap: 48px; }
  .ry-wall__grid { grid-template-columns: 1fr 1fr; }
  .ry-wall__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .ry-foot__in { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .ry-burger { display: inline-flex; }
  .ry-nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 12px;
    padding: 16px var(--ry-gut) 22px; background: var(--ry-ink); border-bottom: 1px solid #000; box-shadow: 0 20px 40px -20px rgb(0 0 0 / 60%);
  }
  .ry-nav.is-open { display: flex; }
  .ry-nav__l { flex-direction: column; }
  .ry-nav__a { padding: 12px 14px; font-size: 1rem; }
  .ry-nav__in { min-height: 48px; }
  .ry-top__in { position: relative; }
  .ry-hero { padding: 48px 0 56px; }
  .ry-hero__art { min-height: 0; display: grid; gap: 16px; }
  .ry-collage { position: relative; height: 300px; }
  .ry-col--a { width: 86%; }
  .ry-col--b { width: 46%; right: 0; }
  .ry-col--c { width: 36%; left: 0; top: 18%; }
  .ry-signin { position: relative; left: auto; bottom: auto; width: 100%; }
  .ry-band, .ry-wall { padding: 64px 0; }
  .ry-steps { padding: 64px 0 48px; }
  .ry-cta { padding-bottom: 64px; }
  .ry-feats, .ry-steps__l, .ry-fgrid { grid-template-columns: 1fr; }
  .ry-wall__grid { grid-template-columns: 1fr; }
  .ry-wall__item, .ry-wall__item:first-child { aspect-ratio: 4 / 3; }
  .ry-wall__b { max-height: none; opacity: 1; }
  .ry-grid, .ry-grid--4 { grid-template-columns: 1fr; gap: 32px; }
  .ry-form__row { grid-template-columns: 1fr; gap: 0; }
  .ry-form__row .ry-field + .ry-field { margin-top: 16px; }
  .ry-thread { padding: 22px 18px; margin-top: 56px; }
  .ry-reply { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; }
  .ry-ini { width: 36px; height: 36px; font-size: .75rem; }
  .ry-ava--xl { width: 104px; height: 104px; }
  .ry-pcard { margin-top: -60px; }
  .ry-tabs { top: 68px; }
  .ry-foot { margin-top: 72px; }
  .ry-foot__cols { grid-template-columns: 1fr 1fr; }
  .ry-404 { grid-template-columns: 1fr; padding-top: 40px; gap: 28px; }
  .ry-spec--nf { aspect-ratio: 16 / 10; }
  .ry-post__cover--spec { aspect-ratio: 16 / 9; }
  .ry-prose { font-size: 1.04rem; }
  .ry-form--contact { padding: 20px; }
  .ry-shot__veil { display: none; }
}

@media (hover: none) {
  .ry-shot__veil { display: none; }
  .ry-wall__b { max-height: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .ry-btn:hover, .ry-feat:hover { transform: none; }
  .ry-shot:hover .ry-shot__img, .ry-col:hover img, .ry-wall__item:hover img { transform: none; }
}
@media (max-width: 760px) {
  .ry-cta .ry-wrap::after { display: none; }
  .ry-cta .ry-wrap { padding: 32px 22px; border-radius: 24px; }
}
.ry-wall__item:nth-child(2) img { object-position: 50% 85%; }
.ry-form--contact .ry-flash { margin: 0 0 8px; }
