/* RavenForge: instrument portfolio + research archive. */
.rf-site {
  --rf-ink: #202526;
  --rf-muted: #586162;
  --rf-paper: #f0f2ef;
  --rf-surface: rgb(242 245 241 / .9);
  --rf-line: rgb(104 117 113 / .25);
  --rf-accent: #9a542e;
  --rf-dark: #181e20;
  background: #101b23;
  isolation: isolate;
  min-height: 100vh;
  color: var(--rf-ink);
  font-size: 1rem;
  line-height: 1.65;
}
.rf-site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(rgb(9 17 23 / .12), rgb(9 17 23 / .24)), url("ravenforge-worldtree.webp") center / cover no-repeat;
}
.rf-site *, .rf-site *::before, .rf-site *::after { box-sizing: border-box; }
.rf-site [hidden] { display: none !important; }
.rf-site a, .rf-site button { -webkit-tap-highlight-color: transparent; }
.rf-site :focus-visible { outline: 3px solid #ad7045; outline-offset: 4px; }
.rf-site > header { background: rgb(15 23 29 / .93); box-shadow: none; border-bottom: 1px solid rgb(184 148 106 / .3); }
.rf-site > header > .container, .rf-site > main { width: 100%; max-width: 1440px; }
.rf-site > header > .container > div:first-child { padding-top: 1.2rem; padding-bottom: 1.2rem; gap: 1.5rem; }
.rf-site > header h1 { font-size: clamp(1.05rem, 2.1vw, 1.55rem); line-height: 1.25; letter-spacing: -.035em; }
.rf-site > header h1 + p { max-width: 46rem; font-size: .875rem; color: #bfc8c6; }
.rf-site > header img { max-width: 80px; height: 3rem; }
.rf-site .rf-languages { gap: .25rem; flex-shrink: 0; }
.rf-site .rf-languages button { min-height: 44px; min-width: 44px; border: 0; border-radius: 0; padding: .5rem; font-size: .875rem; font-weight: 500; }
.rf-site .rf-languages button.active { color: #fff; background: #344043; box-shadow: inset 0 -2px #c9956e; }
.rf-site > header nav { border-color: #3b4446; }
.rf-site > header nav > div { justify-content: flex-start; gap: .25rem 1.6rem; padding: 0; }
.rf-site > header .nav-link { padding: .85rem 0; font-size: .875rem; border-width: 0 0 2px; color: #bfc8c6; line-height: 1.4; }
.rf-site > header .nav-link:hover, .rf-site > header .nav-link.active-nav { color: #fff; border-color: #c9956e; }
.rf-site .rf-legacy-languages { display: none !important; }
.rf-site > main { padding-top: 2rem; padding-bottom: 2rem; }
.rf-site .page-section { margin-bottom: 2rem; padding-top: 0; }
.rf-site .page-section > .bg-white, .rf-site #concept {
  background: var(--rf-surface);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid rgb(218 210 185 / .45);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgb(4 10 15 / .12);
}
.rf-site .page-section > .bg-white > h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.18; letter-spacing: -.035em; padding: .25rem 0 1.3rem; border-bottom: 1px solid var(--rf-line); margin-bottom: 1.5rem; }
.rf-site .page-section > .bg-white > p { width: 100%; max-width: none; color: var(--rf-muted); }
.rf-site .about-tab-btn, .rf-site .spec-btn { border: 1px solid var(--rf-line); border-radius: 2px; background: transparent; padding: .65rem 1rem; min-height: 44px; font-size: .875rem; font-weight: 500; }
.rf-site .about-tab-btn:hover, .rf-site .spec-btn:hover { background: #e8ece9; }
.rf-site .about-tab-btn.active, .rf-site .spec-btn.active { background: var(--rf-dark); border-color: var(--rf-dark); color: #fff; }
.rf-site .about-content { padding-top: 1.5rem; }
.rf-site #personal-intro { padding: 1.5rem 0 3rem; border-color: var(--rf-line); }
.rf-site #personal-intro > div { align-items: center; }
.rf-site #personal-intro > div > div:first-child { border-radius: 50%; }
.rf-site #personal-intro [data-lang-key="introContent"] { flex: 1; min-width: 0; max-width: none; width: 100%; }
.rf-site #ravenforge-identity > p { max-width: none; }
.rf-site #ravenforge-identity > .grid { gap: 1.5rem; margin-top: 1.5rem; }
.rf-site #ravenforge-identity > .grid > div { border: 0; border-top: 2px solid var(--rf-ink); border-radius: 0; background: transparent; padding: 1rem 0 0; }
.rf-site #ravenforge-identity > .grid img { width: 100%; height: 19rem; object-fit: contain; background: #fff; border-radius: 0; }
.rf-site #ravenforge-identity h4 { font-size: 1.25rem; line-height: 1.75rem; letter-spacing: normal; }
.rf-site #ravenforge-identity ul { line-height: 1.75; }
.rf-site #spec-sheet .spec-content { background: rgb(248 249 246 / .55); border: 1px solid var(--rf-line); padding: clamp(1rem, 2.5vw, 2rem); }
.rf-site #spec-sheet .spec-content img { object-fit: contain; }
.rf-site .spec-table { width: 100%; font-size: .95rem; }
.rf-site .spec-table th { background: #eef1ef; }
.rf-site .spec-table td, .rf-site .spec-table th { border-color: var(--rf-line); }
.rf-prototype-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: stretch; }
.rf-prototype-comparison { min-width: 0; }
.rf-prototype-sidebar { min-width: 0; --rf-prototype-color: #79bdeb; --rf-prototype-ink: #246386; }
.rf-prototype-sidebar[data-model="askr"] { --rf-prototype-color: #e5b273; --rf-prototype-ink: #985522; }
.rf-prototype-sidebar[data-model="edda"] { --rf-prototype-color: #8cbaa2; --rf-prototype-ink: #356b52; }
.rf-prototype-rail { display: grid; grid-template-columns: minmax(0, 1fr); gap: .875rem; min-width: 0; scrollbar-width: thin; scrollbar-color: var(--rf-prototype-ink) #dce2df; }
.rf-prototype-portrait { margin: 0; min-width: 0; }
.rf-prototype-image { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 1px solid var(--rf-line); border-radius: .5rem; overflow: hidden; background: rgb(255 255 255 / .85); cursor: zoom-in; }
.rf-prototype-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.rf-prototype-portrait figcaption { margin: .6rem 0 .25rem; text-align: center; color: var(--rf-prototype-ink); font-size: .875rem; font-weight: 600; letter-spacing: .12em; }
.rf-prototype-note { min-width: 0; padding: .875rem 1rem; border: 1px solid #3d5058; border-left: 3px solid var(--rf-prototype-color); border-radius: .375rem; background-color: #15242b; background-image: linear-gradient(105deg, rgb(16 28 34 / .94), rgb(16 28 34 / .84)), url("ravenforge-worldtree.webp"); background-position: center, 35% 20%; background-size: cover, 180% auto; box-shadow: 0 4px 14px rgb(7 16 22 / .08); overflow-wrap: break-word; hyphens: auto; }
.rf-prototype-note-heading { display: flex; align-items: baseline; gap: .7rem; margin-bottom: .65rem; padding-bottom: .5rem; border-bottom: 1px solid rgb(218 229 225 / .16); color: var(--rf-prototype-color); }
.rf-prototype-note-number { font-size: 1.125rem; line-height: 1; font-weight: 400; letter-spacing: .04em; opacity: .75; }
.rf-prototype-note h3 { margin: 0; color: var(--rf-prototype-color); font-size: .875rem; line-height: 1.5; font-weight: 600; }
.rf-prototype-note p { margin: 0; color: #d7e0dd; font-size: 1rem; line-height: 1.55; }
.rf-prototype-swipe { display: none; margin: .65rem 0 0; color: var(--rf-muted); font-size: .875rem; }
.rf-site #innovation-synthesis, .rf-site #luthier-explorer { padding-top: 1.5rem; }
.rf-site #luthier-grid > div, .rf-site #research-grid > div { border-radius: 4px; box-shadow: none; border: 1px solid var(--rf-line); background: rgb(248 249 246 / .55); }
.rf-site .about-content .bg-stone-50, .rf-site .about-content .bg-slate-50 { background-color: rgb(248 249 246 / .5); }
.rf-site #research-filters button { min-height: 44px; border-radius: 2px; }
.rf-site #analysis select, .rf-site #analysis button { font-size: 1rem; min-height: 44px; }
.rf-site > footer { border-top: 1px solid rgb(184 148 106 / .3); background: rgb(15 23 29 / .88); color: #c6cfcd; font-size: .875rem; }
.rf-eyebrow { font-size: .8125rem; letter-spacing: .12em; line-height: 1.6; font-weight: 500; }
.rf-hero { display: grid; grid-template-columns: .85fr 1.15fr; background: rgb(15 25 32 / .88); margin: 0 0 2.5rem; border: 1px solid rgb(184 148 106 / .3); border-radius: 8px; }
.rf-hero-copy { padding: clamp(1.5rem, 4vw, 3.75rem); display: flex; flex-direction: column; align-items: flex-start; }
.rf-hero-copy .rf-eyebrow { color: #c9956e; margin: 0 0 2rem; }
.rf-hero h2 { margin: 0 0 1.6rem; color: #f3f6f4; font-size: clamp(2.9rem, 6vw, 5.5rem); line-height: 1.02; letter-spacing: -.055em; font-weight: 700; }
.rf-site:lang(ko) .rf-hero h2 { line-height: 1.14; letter-spacing: -.055em; }
.rf-hero-description { max-width: 32ch; color: #c6cfcd; margin: 0 0 2rem; font-size: 1rem; line-height: 1.7; }
.rf-primary-link { display: inline-block; color: #fff; border-bottom: 1px solid #c9956e; padding: .5rem 0; min-height: 44px; margin-top: auto; font-size: .95rem; }
.rf-primary-link:hover { color: #dfb797; }
.rf-hero-figure { min-width: 0; margin: 1rem 1rem 1rem 0; background: transparent; color: var(--rf-ink); padding: 1.5rem; display: flex; flex-direction: column; }
.rf-figure-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; border-bottom: 1px solid var(--rf-line); padding-bottom: 1rem; }
.rf-figure-heading > span:first-child { font-size: 1.5rem; line-height: 1.2; letter-spacing: .08em; font-weight: 700; }
.rf-figure-heading > span:last-child { font-size: .8125rem; color: var(--rf-muted); text-align: right; }
.rf-hero-figure img { display: block; width: 100%; height: 100%; min-height: 0; max-height: 430px; object-fit: contain; flex: 1; margin: 1.25rem 0; }
.rf-hero-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; border-top: 1px solid var(--rf-line); padding-top: .85rem; font-size: .8125rem; color: var(--rf-muted); }
.rf-hero-figure figcaption > span:last-child { letter-spacing: .1em; }
.rf-hero-showcase {
  --rf-ink: #e2e9e5;
  --rf-muted: #bdcac7;
  --rf-line: rgb(187 204 199 / .22);
  min-width: 0;
  margin: 1rem 1rem 1rem 0;
  padding: 1.5rem;
  background: rgb(39 55 63 / .8);
  border: 1px solid var(--rf-line);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  color: var(--rf-ink);
}
.rf-carousel-slides { display: grid; flex: 1; min-width: 0; }
.rf-hero-showcase .rf-model-slide { grid-area: 1 / 1; margin: 0; padding: 0; opacity: 0; visibility: hidden; transform: translateX(.5rem); transition: opacity 350ms ease, transform 350ms ease, visibility 350ms; pointer-events: none; }
.rf-hero-showcase .rf-model-slide.is-active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.rf-model-media { position: relative; width: 100%; aspect-ratio: 5 / 3; margin: 1.25rem 0; background: #1b2023; border-radius: 4px; overflow: hidden; }
.rf-hero-showcase .rf-model-media img { display: block; margin: 0; max-width: none; max-height: none; flex: none; }
.rf-hero-showcase .rf-model-media > .rf-model-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Keep the original instrument opaque; fade only its surrounding background and hide its old corner emblem. */
.rf-hero-showcase .rf-model-media > .rf-model-original {
  position: absolute; top: 0; left: 50%; width: auto; height: 100%; transform: translateX(-50%); object-fit: contain;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 18%, #000 78%, transparent 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 18%, #000 78%, transparent 88%, transparent);
}
/* The upper three quarters of the existing brand asset contain the emblem, above its wordmark. */
.rf-model-emblem { position: absolute; right: 2.5%; bottom: 3%; width: 10%; max-width: 4.25rem; aspect-ratio: 4 / 3; overflow: hidden; pointer-events: none; }
.rf-hero-showcase .rf-model-emblem img { width: 100%; height: auto; }
.rf-hero-showcase .rf-model-slide figcaption { margin-top: auto; min-height: 3.5rem; }
.rf-model-slide[data-model="embla"], .rf-carousel-picker [data-model="embla"] { --rf-model-color: #79bdeb; }
.rf-model-slide[data-model="askr"], .rf-carousel-picker [data-model="askr"] { --rf-model-color: #e5b273; }
.rf-model-slide[data-model="edda"], .rf-carousel-picker [data-model="edda"] { --rf-model-color: #77cab1; }
.rf-model-slide .rf-figure-heading > span:first-child { color: var(--rf-model-color); }
.rf-carousel-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin-top: 1rem; }
.rf-carousel-picker button { min-width: 0; min-height: 44px; padding: .6rem .15rem; border: 0; border-bottom: 3px solid var(--rf-line); background: transparent; color: var(--rf-muted); font-size: .875rem; font-weight: 500; cursor: pointer; }
.rf-carousel-picker button[aria-pressed="true"] { border-bottom-color: var(--rf-model-color); color: var(--rf-model-color); }
.rf-carousel-picker button:hover { background: rgb(203 221 214 / .08); }
.rf-carousel-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: .75rem; }
.rf-carousel-position { color: var(--rf-muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.rf-carousel-controls > div { display: flex; align-items: center; gap: .25rem; }
.rf-carousel-controls button { min-width: 44px; min-height: 44px; padding: .45rem .65rem; border: 1px solid var(--rf-line); background: transparent; color: var(--rf-ink); cursor: pointer; font-size: .875rem; line-height: 1.3; }
.rf-carousel-controls button:hover { background: rgb(203 221 214 / .08); }
.rf-carousel-controls [data-carousel-action="rotation"] { min-width: 7.25rem; }
.rf-carousel-controls button > span { font-size: 1.5rem; line-height: 1; }
.rf-concept-header { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 2.5rem; padding: 2rem 0 3rem; }
.rf-concept-header .rf-eyebrow { color: var(--rf-accent); margin: 0 0 1rem; }
.rf-concept-header h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5rem); line-height: 1.12; font-weight: 700; letter-spacing: -.045em; }
.rf-concept-header > p { max-width: 50ch; margin: 0 0 .25rem; font-size: 1.0625rem; color: var(--rf-muted); }
.rf-concept-index { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; border-top: 2px solid var(--rf-ink); border-bottom: 1px solid var(--rf-line); padding: 1rem 0; font-size: .875rem; }
.rf-concept-index p { margin: 0; }
.rf-concept-index p:last-child { color: var(--rf-muted); }
.rf-concept-empty { padding: clamp(3rem, 8vw, 7rem) 0; border-bottom: 1px solid var(--rf-line); }
.rf-concept-empty .rf-eyebrow { color: var(--rf-accent); margin: 0 0 1rem; }
.rf-concept-empty h3 { max-width: 22ch; margin: 0 0 1rem; font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.3; font-weight: 500; letter-spacing: -.025em; }
.rf-concept-empty > p:last-child { color: var(--rf-muted); }
.rf-concept-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem 2rem; }
.rf-concept-gallery:not(:empty) { padding-top: 2rem; }
.rf-concept-card { min-width: 0; }
.rf-concept-card-copy { min-width: 0; }
.rf-concept-card:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.rf-concept-card:only-child .rf-concept-image-button img { aspect-ratio: 3 / 4; }
.rf-concept-card:only-child .rf-concept-card-meta { margin-top: 0; }
.rf-concept-image-button { display: block; width: 100%; border: 1px solid var(--rf-line); border-radius: 0; padding: 0; background: #fff; cursor: zoom-in; overflow: hidden; }
.rf-concept-image-button img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; display: block; transition: transform 180ms ease; }
@media (hover: hover) { .rf-concept-image-button:hover img { transform: scale(1.015); } }
.rf-concept-card-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .8125rem; color: var(--rf-muted); margin-top: 1rem; }
.rf-concept-card h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.3; font-weight: 500; letter-spacing: -.02em; margin: .5rem 0; overflow-wrap: anywhere; }
.rf-concept-card-description { margin: 1rem 0 0; max-width: 65ch; color: var(--rf-muted); white-space: pre-line; overflow-wrap: anywhere; }
.rf-concept-specifications { grid-column: 1 / -1; min-width: 0; margin-top: 1rem; }
.rf-concept-specifications table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .9375rem; }
.rf-concept-specifications caption { margin-bottom: 1rem; text-align: left; font-size: 1.25rem; font-weight: 500; color: var(--rf-ink); }
.rf-concept-specifications th, .rf-concept-specifications td { padding: .75rem 1rem; border-bottom: 1px solid var(--rf-line); text-align: left; vertical-align: top; overflow-wrap: anywhere; white-space: pre-line; }
.rf-concept-specifications thead th { background: rgb(24 30 32 / .07); font-weight: 500; }
.rf-concept-specifications thead th:first-child { width: 34%; }
.rf-concept-specifications tbody th { font-weight: 500; color: var(--rf-muted); }
.rf-concept-image-error { padding: 3rem 1rem; color: var(--rf-muted); font-size: 1rem; text-align: center; }
.rf-concept-dialog { padding: 0; border: 0; max-width: 1120px; width: calc(100% - 2rem); max-height: calc(100dvh - 2rem); background: #f5f6f5; color: #202526; overflow-y: auto; }
.rf-concept-dialog::backdrop { background: rgb(10 15 16 / .88); }
.rf-concept-dialog-header { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.5rem; background: #f5f6f5; border-bottom: 1px solid #d9dedc; }
.rf-concept-dialog-header h3 { margin: 0; font-size: 1.125rem; line-height: 1.4; font-weight: 500; overflow-wrap: anywhere; }
.rf-concept-dialog-header button { background: transparent; border: 1px solid #b9c3bf; color: #202526; padding: .5rem .75rem; min-height: 44px; flex-shrink: 0; cursor: pointer; font-size: .875rem; }
.rf-concept-dialog figure { margin: 0; padding: 1.5rem; }
.rf-concept-dialog img { display: block; width: 100%; max-height: 68dvh; object-fit: contain; background: #fff; }
.rf-concept-dialog figcaption { margin-top: 1rem; max-width: 85ch; color: #586162; font-size: 1rem; white-space: pre-line; overflow-wrap: anywhere; }
@media (min-width: 1200px) {
  .rf-prototype-layout { --rf-prototype-note-height: 8.75rem; grid-template-columns: minmax(18rem, 1fr) minmax(0, 2fr); gap: 1.5rem; }
  .rf-prototype-rail { height: 100%; grid-template-rows: auto repeat(3, var(--rf-prototype-note-height)); gap: .75rem; }
  .rf-prototype-image { max-width: none; margin-inline: 0; }
  .rf-prototype-note { height: var(--rf-prototype-note-height); display: flex; flex-direction: column; justify-content: center; padding: .625rem .875rem; }
  .rf-prototype-note-heading { margin-bottom: .3rem; padding-bottom: .25rem; }
  .rf-prototype-comparison { display: grid; grid-template-rows: auto auto minmax(min-content, 1fr); }
  .rf-prototype-table-wrap { display: grid; }
  .rf-site .rf-prototype-table-wrap .spec-table { min-width: 0; height: 100%; table-layout: fixed; }
  .rf-site .rf-prototype-table-wrap .spec-table th:first-child { width: 18%; }
  .rf-site .rf-prototype-table-wrap .spec-table th:nth-child(2), .rf-site .rf-prototype-table-wrap .spec-table th:nth-child(3) { width: 25%; }
  .rf-site .rf-prototype-table-wrap .spec-table th:last-child { width: 32%; }
  .rf-site .rf-prototype-table-wrap .spec-table td { vertical-align: middle; white-space: normal; overflow-wrap: anywhere; }
}
@media (min-width: 1200px) and (max-width: 1439px) {
  .rf-prototype-layout { --rf-prototype-note-height: 10.25rem; }
}
@media (max-width: 1199px) {
  .rf-prototype-rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(86%, 22.5rem); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 2px; overscroll-behavior-x: contain; padding: 4px 2px .6rem; }
  .rf-prototype-rail > * { scroll-snap-align: start; }
  .rf-prototype-note { display: flex; flex-direction: column; justify-content: center; }
  .rf-prototype-swipe { display: block; }
}
@media (max-width: 900px) {
  .rf-site > header nav > div { gap: 0 1.1rem; }
  .rf-hero { grid-template-columns: 1fr 1fr; }
  .rf-hero-copy { padding: 2rem; }
  .rf-hero-copy .rf-eyebrow { margin-bottom: 1.5rem; }
  .rf-hero h2 { font-size: clamp(2.8rem, 7vw, 4.5rem); }
  .rf-hero-figure { padding: 1rem; }
  .rf-hero-showcase { padding: 1rem; }
  .rf-model-media { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .rf-site > header > .container > div:first-child { flex-wrap: wrap; padding-top: .8rem; padding-bottom: .6rem; gap: .4rem; }
  .rf-site > header > .container > div:first-child > div:first-child { min-width: 0; }
  .rf-site > header h1 + p { font-size: .8125rem; margin-top: .25rem; }
  .rf-site > header img { height: 2.5rem; max-width: 55px; }
  .rf-site .rf-languages { margin-left: auto; }
  .rf-site > header nav > div { flex-wrap: nowrap; overflow-x: auto; gap: 1.2rem; scrollbar-width: thin; }
  .rf-site > header .nav-link { flex-shrink: 0; white-space: nowrap; padding: .8rem 0; }
  .rf-site > main { padding-top: 1.25rem; }
  .rf-hero { grid-template-columns: 1fr; margin-bottom: 2.5rem; }
  .rf-hero-copy { padding: 1.5rem; }
  .rf-hero h2 { font-size: clamp(2.7rem, 14vw, 4.5rem); }
  .rf-hero-figure { margin: 0 .75rem .75rem; padding: 1rem; }
  .rf-hero-figure img { height: 280px; flex: none; }
  .rf-hero-figure figcaption { font-size: .8125rem; }
  .rf-hero-showcase { margin: 0 .75rem .75rem; padding: 1rem; }
  .rf-site #personal-intro > div { align-items: center; }
  .rf-concept-header { grid-template-columns: 1fr; gap: 1.5rem; padding: 1rem 0 2rem; }
  .rf-concept-header > p { font-size: 1rem; }
  .rf-concept-gallery { grid-template-columns: 1fr; gap: 2.5rem; }
  .rf-concept-card:only-child { grid-template-columns: 1fr; gap: 1.5rem; }
  .rf-concept-specifications th, .rf-concept-specifications td { padding: .65rem .5rem; }
  .rf-concept-dialog-header { padding: .75rem 1rem; }
  .rf-concept-dialog figure { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rf-site .page-section.active { animation: none; }
  .rf-site .rf-concept-image-button img { transition: none; }
  .rf-site .rf-model-slide { transition: none; transform: none; }
}
/* Phones and tablets: the brand/language row scrolls away and only the section
   menu stays pinned. --rf-header-top is the brand row's height, set by index.html. */
@media (max-width: 1023px) {
  .rf-site > header { top: calc(-1 * var(--rf-header-top, 0px)); }
}
/* Phones: the configuration comparison becomes one card per spec instead of a
   760px-wide table that only showed its first column. */
@media (max-width: 640px) {
  .rf-site .rf-prototype-table-wrap { overflow: visible; border: 0; background: transparent; }
  .rf-site .rf-prototype-table-wrap .spec-table { min-width: 0; }
  .rf-site .rf-prototype-table-wrap .spec-table thead { display: none; }
  .rf-site .rf-prototype-table-wrap .spec-table, .rf-site .rf-prototype-table-wrap .spec-table tbody { display: block; }
  .rf-site .rf-prototype-table-wrap .spec-table tr { display: block; margin-bottom: .75rem; border: 1px solid var(--rf-line); border-radius: .5rem; background: #fff; overflow: hidden; }
  .rf-site .rf-prototype-table-wrap .spec-table td { display: block; border: 0; border-top: 1px solid var(--rf-line); padding: .6rem .8rem; white-space: normal; overflow-wrap: anywhere; font-size: .875rem; }
  .rf-site .rf-prototype-table-wrap .spec-table td:first-child { border-top: 0; background: #eef1ef; white-space: normal; }
  .rf-site .rf-prototype-table-wrap .spec-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: .15rem; color: var(--rf-muted); font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
}
/* Long German compounds ("Instrumentenkonfigurator") must not push the page wider than the
   screen: headings break at a soft hyphen (&shy;) and, failing that, inside the word. */
.rf-site h1, .rf-site h2, .rf-site h3 { overflow-wrap: break-word; }
.rf-site #configurator > div > div:first-child { flex-wrap: wrap; gap: .75rem; }
.rf-site #configurator > div > div:first-child > * { min-width: 0; }
/* Text contrast: these small grey labels sat at 2.2–4.4:1 on the light panels (WCAG AA asks 4.5:1). */
.rf-site #analysis .rf-kind,
.rf-site #luthier-grid .text-slate-500,
.rf-site #research-grid .text-slate-400,
.rf-site #about .text-slate-500,
.rf-site #home .text-slate-500,
.rf-site #Prototype .text-slate-500 { color: #475569; }
.rf-site #analysis .rf-featured-card-caption > span { color: #64748b; }
.rf-site .rune-font.text-amber-600 { color: #92400e; }
.rf-site .rf-chimera-number { color: #7a4c26; }
.rf-site #concept .rf-eyebrow { color: #7f4423; }
