:root {
  --bg: #030303;
  --surface: #0a0a0a;
  --text: #f4f4f1;
  --muted: #a6a6a1;
  --line: rgba(255,255,255,.13);
  --accent: #e5e5df;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: white; color: black; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: 76px;
  padding: 0 clamp(1rem,4vw,4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(3,3,3,.82);
  backdrop-filter: blur(16px);
  border-color: var(--line);
}
.brand {
  text-decoration: none;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .24em;
}
.header-actions { display: flex; align-items: center; gap: clamp(1rem,3vw,2.5rem); }
nav { display: flex; gap: clamp(1rem,3vw,2rem); }
nav a { text-decoration: none; color: #d8d8d3; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
nav a:hover { color: #fff; }
.language-switcher { display: inline-flex; align-items: center; gap: .34rem; color: rgba(255,255,255,.45); font-size: .75rem; letter-spacing: .12em; }
.language-switcher button { border: 0; padding: .35rem .2rem; background: transparent; color: rgba(255,255,255,.48); font: inherit; letter-spacing: inherit; cursor: pointer; }
.language-switcher button:hover { color: #fff; }
.language-switcher button[aria-pressed="true"] { color: #fff; text-shadow: 0 0 12px rgba(255,255,255,.35); }
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -3;
}
/* No texture, grain or dirt layer: only a clean transparent gradient for text readability. */
.hero-clean-gradient {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.22) 0%, rgba(0,0,0,.02) 45%, rgba(0,0,0,.42) 100%);
}
.hero-content {
  width: min(1100px, calc(100% - 2rem));
  text-align: center;
  padding-top: 4rem;
  text-shadow: 0 2px 22px rgba(0,0,0,.55);
}
.eyebrow { margin: 0 0 .7rem; font-size: .7rem; letter-spacing: .46em; font-weight: 700; opacity: .78; }
h1 {
  margin: 0;
  font-size: clamp(4rem, 14vw, 12rem);
  line-height: .82;
  letter-spacing: -.055em;
  font-weight: 900;
}
.hero-line { margin: 1.4rem auto 0; font-size: clamp(.95rem,2vw,1.2rem); letter-spacing: .14em; text-transform: uppercase; }
.scroll-cue { position: absolute; bottom: 1.5rem; display: grid; justify-items: center; gap: .2rem; text-decoration: none; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: #d0d0ca; }
.scroll-cue b { font-size: 1rem; font-weight: 400; animation: nudge 1.8s ease-in-out infinite; }
.section {
  width: min(var(--max), calc(100% - 2rem));
  min-height: 72svh;
  margin: auto;
  padding: clamp(5rem,10vw,9rem) 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(2rem,7vw,7rem);
  align-items: start;
  border-bottom: 1px solid var(--line);
}
.section-number { color: #767672; font-size: .72rem; letter-spacing: .2em; padding-top: .6rem; }
.section-copy { max-width: 780px; }
.kicker { margin: 0 0 1.5rem; color: #aaa; font-size: .72rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
h2 { margin: 0 0 1.5rem; font-size: clamp(2.6rem,7vw,6.4rem); line-height: .95; letter-spacing: -.045em; }
.section-copy > p:last-child { max-width: 620px; color: var(--muted); font-size: clamp(1rem,2vw,1.2rem); }
.contact { background: radial-gradient(circle at 70% 50%, rgba(255,255,255,.035), transparent 32%); }
footer { width: min(var(--max), calc(100% - 2rem)); margin: auto; padding: 2rem 0; display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; color: #8d8d88; font-size: .78rem; }
footer > span { color: #fff; font-weight: 800; letter-spacing: .2em; }
footer p { margin: 0; }
footer a { justify-self: end; text-decoration: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes nudge { 0%,100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(7px); opacity: 1; } }
@media (max-width: 760px) {
  .site-header { height: 66px; }
  nav { display: none; }
  .hero-video { object-position: center center; }
  .section { grid-template-columns: 1fr; gap: 1rem; min-height: auto; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer a { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.menu-button{display:none;background:none;border:0;color:#fff;font-size:1.35rem}.hero-links{display:flex;justify-content:center;gap:1rem;margin-top:2.2rem}.hero-links a{border:1px solid rgba(255,255,255,.45);padding:.8rem 1.1rem;text-decoration:none;font-size:.7rem;letter-spacing:.16em}.hero-links a:hover{background:#fff;color:#000}.page-hero{width:min(var(--max),calc(100% - 2rem));margin:auto;padding:clamp(9rem,18vw,14rem) 0 clamp(4rem,8vw,7rem);border-bottom:1px solid var(--line)}.page-hero h1{font-size:clamp(3.5rem,10vw,9rem);max-width:1100px}.page-hero>p:last-child{max-width:720px;color:var(--muted);font-size:clamp(1.05rem,2vw,1.35rem);margin-top:2rem}.project-grid,.lab-grid{width:min(var(--max),calc(100% - 2rem));margin:auto;padding:2rem 0 8rem;display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--line)}.project-card,.lab-grid article{background:var(--bg);min-height:320px;padding:clamp(2rem,5vw,4rem);text-decoration:none}.project-card:hover{background:#0b0b0b}.project-card>span,.lab-grid article>span{font-size:.68rem;letter-spacing:.2em;color:#777}.project-card h2,.lab-grid h2{font-size:clamp(2.2rem,5vw,4.5rem);margin:4rem 0 1rem}.project-card p,.lab-grid p{color:var(--muted)}
@media(max-width:760px){.site-header nav{display:none}.menu-button{display:block}.site-header.menu-open nav{display:flex;position:absolute;top:66px;left:0;right:0;background:rgba(3,3,3,.97);padding:1.5rem;flex-direction:column;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.project-grid,.lab-grid{grid-template-columns:1fr}.hero-links{flex-direction:column;align-items:center}.hero-links a{min-width:190px}.project-card,.lab-grid article{min-height:250px}}
.about-sections{width:min(var(--max),calc(100% - 2rem));margin:auto;padding:0 0 8rem}
.about-block{display:grid;grid-template-columns:minmax(150px,.35fr) 1fr;gap:clamp(2rem,6vw,7rem);padding:clamp(4rem,8vw,8rem) 0;border-bottom:1px solid var(--line)}
.about-block h2{font-size:clamp(2.5rem,6vw,6rem);line-height:.95;margin:0 0 2rem;max-width:900px}
.about-block>p:last-child,.about-block>div>p{color:var(--muted);font-size:clamp(1rem,1.6vw,1.2rem);line-height:1.7;max-width:760px}
.section-no{font-size:.68rem!important;letter-spacing:.18em;color:#777!important;text-transform:uppercase}
.tag-row{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:2rem}
.tag-row span{border:1px solid var(--line);padding:.55rem .75rem;font-size:.66rem;letter-spacing:.14em}
.featured-about{background:#080808;padding-left:clamp(1rem,4vw,4rem);padding-right:clamp(1rem,4vw,4rem)}
.small-note{font-size:.82rem!important;margin-top:2rem;color:#666!important}
@media(max-width:760px){.about-block{grid-template-columns:1fr;gap:1.5rem}.featured-about{margin-left:-1rem;margin-right:-1rem}}

.story-nav{width:min(var(--max),calc(100% - 2rem));margin:auto;padding:2rem 0 8rem;display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--line)}
.story-nav a{background:var(--bg);min-height:280px;padding:clamp(2rem,5vw,4rem);text-decoration:none}.story-nav a:hover{background:#0b0b0b}.story-nav span{font-size:.68rem;letter-spacing:.2em;color:#777}.story-nav h2{font-size:clamp(2rem,4.5vw,4rem);margin:3.5rem 0 1rem}.story-nav p{color:var(--muted);line-height:1.6}
.text-page{width:min(980px,calc(100% - 2rem));margin:auto;padding:clamp(8rem,15vw,12rem) 0 8rem}.text-page h1{font-size:clamp(3.5rem,9vw,8rem);line-height:.9;margin:1rem 0 clamp(3rem,7vw,6rem)}.reading-copy{max-width:760px;margin-left:auto}.reading-copy p{font-size:clamp(1.08rem,2vw,1.35rem);line-height:1.75;color:var(--muted);margin:0 0 1.8rem}.back-link{display:inline-block;margin-bottom:3rem;text-decoration:none;color:#888;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase}.back-link:hover{color:#fff}
@media(max-width:760px){.story-nav{grid-template-columns:1fr}.story-nav a{min-height:230px}.reading-copy{margin-left:0}}

/* RAGE-HE v0.5 — visual identity shared with the YouTube channel */
:root {
  --accent: #ffae76;
  --accent-deep: #e26b35;
  --bg: #05070b;
  --surface: #0c1016;
  --line: rgba(255,255,255,.14);
  --muted: #afb0b2;
}
body { background: var(--bg); }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.site-header { height: 82px; }
.site-header.scrolled, .inner-page .site-header {
  background: rgba(5,7,11,.89);
  backdrop-filter: blur(16px);
  border-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; font-size: .96rem; letter-spacing: .15em; }
.brand img { display: block; width: 43px; height: 34px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(250,115,59,.18)); }
.brand:hover span { color: #ffbc92; }
nav .nav-youtube { color: #ffb88d; }
nav .nav-youtube:hover { color: #ffdbbd; }
.language-switcher button[aria-pressed="true"] { color: var(--accent); text-shadow: 0 0 16px rgba(245,127,63,.25); }
.hero { background: #020407; }
.hero-video { opacity: .76; }
.hero-clean-gradient { background: linear-gradient(180deg,rgba(2,3,6,.42) 0%,rgba(3,4,6,.32) 48%,rgba(3,4,8,.64) 100%), radial-gradient(ellipse at 50% 60%,rgba(0,0,0,.04),rgba(0,0,0,.48) 75%); }
.hero-content { padding-top: 4.5rem; position: relative; max-width: 1100px; }
.hero .eyebrow { font-size: .66rem; letter-spacing: .35em; opacity: .92; color: #e1ded9; }
.hero-logo { width: min(940px,100%); height: auto; display: block; margin: clamp(1rem,3vw,2.4rem) auto .5rem; object-fit: contain; filter: drop-shadow(0 0 30px rgba(250,112,47,.19)); }
.hero-line { color: #f3eeea; margin-top: 1.55rem; font-size: clamp(.76rem,1.4vw,1.03rem); font-weight: 700; letter-spacing: .26em; }
.hero-subline { color: #c8c3c1; font-size: clamp(.92rem,1.7vw,1.12rem); margin: 1rem auto 0; }
.hero-links a { font-weight: 700; transition: background .2s ease,border-color .2s ease,transform .2s ease; }
.hero-links a:hover { transform: translateY(-2px); }
.hero-links a.link-accent { border-color: rgba(255,161,99,.72); color: #ffe3d1; background: rgba(255,124,49,.09); }
.hero-links a.link-accent:hover { background: var(--accent); color: #13110f; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); bottom: 1.7rem; color: #bdb7b4; text-decoration: none; }
.scroll-cue:hover { color: #fff; }
.home-wrap { width: min(var(--max),calc(100% - 3rem)); margin-left: auto; margin-right: auto; }
.home-intro { padding: clamp(5rem,10vw,9rem) 0 clamp(4rem,8vw,7rem); }
.intro-kicker { font-size: .69rem; letter-spacing: .19em; font-weight: 750; color: #ffb88c; text-transform: uppercase; display: flex; align-items: center; gap: .7rem; margin: 0 0 2.1rem; }
.orange-rule { display: inline-block; background: var(--accent); height: 1px; width: 32px; }
.home-intro-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: clamp(2.5rem,7vw,7rem); align-items: start; }
.home-intro h2, .home-projects h2, .youtube-section h2, .project-outro h2 { font-size: clamp(2.6rem,5.4vw,5.4rem); letter-spacing: -.048em; line-height: 1.02; }
.home-intro-grid h2 { max-width: 600px; }
.home-intro-copy p, .youtube-copy>p:not(.intro-kicker) { color: var(--muted); font-size: clamp(1rem,1.7vw,1.18rem); line-height: 1.8; max-width: 530px; margin: .35rem 0 2rem; }
.text-arrow { text-decoration: none; color: #ffcaac; font-size: .72rem; font-weight: 800; letter-spacing: .14em; display: inline-flex; padding: .7rem 0; border-bottom: 1px solid rgba(255,174,118,.36); }
.text-arrow:hover { color: #fff; border-bottom-color: #fff; }
.interest-tags { margin-top: 4.7rem; display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.interest-tags span { padding: .53rem .86rem; background: rgba(255,255,255,.025); border: 1px solid var(--line); font-size: .68rem; letter-spacing: .14em; color: #a4a7ac; }
.youtube-section { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.12fr); gap: clamp(2rem,5vw,5rem); align-items: center; padding: clamp(4rem,8vw,7rem) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.youtube-section h2 { font-size: clamp(2.5rem,4.5vw,4.5rem); }
.muted-slash { color: #777; }
.primary-cta { display: inline-flex; align-items: center; justify-content: center; text-align: center; background: #f3efed; border: 1px solid #f3efed; padding: 1rem 1.35rem; color: #141316; text-decoration: none; font-weight: 800; letter-spacing: .08em; font-size: .74rem; transition: background .2s,border-color .2s; }
.primary-cta:hover { background: var(--accent); border-color: var(--accent); }
.youtube-art { display: block; position: relative; overflow: hidden; border: 1px solid rgba(255,179,133,.22); background: #05070b; aspect-ratio: 1.65; }
.youtube-art:after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 35%,rgba(0,0,0,.54)); pointer-events: none; }
.youtube-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.youtube-art:hover img { transform: scale(1.04); }
.art-tag { position: absolute; right: 1.2rem; bottom: 1.2rem; z-index: 1; font-weight: 800; letter-spacing: .14em; font-size: .66rem; background: rgba(5,7,11,.8); padding: .7rem .9rem; }
.home-projects { padding: clamp(5rem,10vw,9rem) 0 clamp(5rem,10vw,9rem); }
.home-projects-header { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2.6rem; }
.home-projects h2 { margin: 0; }
.home-project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--line); }
.home-project-grid a { min-height: 250px; padding: 2rem; display: flex; flex-direction: column; text-decoration: none; background: linear-gradient(155deg,rgba(255,156,95,.055),transparent 65%); border-right: 1px solid var(--line); transition: background .2s; }
.home-project-grid a:last-child { border-right: 0; }
.home-project-grid a:hover { background: rgba(255,156,95,.12); }
.home-project-grid a>span:first-child { color: #8c8e94; font-size: .65rem; letter-spacing: .17em; }
.home-project-grid strong { font-size: clamp(1.6rem,2.7vw,2.65rem); letter-spacing: -.04em; line-height: 1.1; margin-top: auto; }
.home-project-grid .tile-arrow { align-self: flex-end; color: var(--accent); font-size: 1.45rem; }
footer { border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: .35rem; }
.footer-brand img { display: block; width: 41px; height: 28px; object-fit: contain; }
.footer-brand strong { color: #fff; font-size: .83rem; letter-spacing: .17em; }
.footer-links { justify-self: end; display: flex; gap: 1.5rem; }
.footer-links a { color: #aaa; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.project-card { scroll-margin-top: 115px; }
.project-grid { background: var(--line); }
.project-card:hover { background: var(--bg); }
.project-outro { padding: 5rem 0 7rem; text-align: center; }
.project-outro h2 { font-size: clamp(2.5rem,5vw,4.7rem); margin: 0 auto 2.5rem; max-width: 850px; }
.project-outro .intro-kicker { justify-content: center; }
.kicker, .back-link:hover { color: var(--accent); }
@media (max-width: 850px) {
  .site-header { height: 68px; }
  .header-actions { gap: .7rem; }
  .site-header nav { display: none; }
  .menu-button { display: block; font-size: 1.5rem; cursor: pointer; padding: .3rem; }
  .site-header.menu-open nav { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .65rem 1.25rem; background: rgba(5,7,11,.98); }
  .site-header.menu-open nav a { padding: .95rem .4rem; }
  .home-intro-grid, .youtube-section { grid-template-columns: 1fr; }
  .home-intro-grid { gap: 1rem; }
  .youtube-art { max-width: 700px; }
}
@media (max-width: 640px) {
  .site-header { padding: 0 1rem; }
  .brand { gap: .15rem; letter-spacing: .08em; font-size: .8rem; }
  .brand img { width: 38px; }
  .language-switcher { font-size: .7rem; }
  .hero { min-height: 95svh; }
  .hero-content { width: calc(100% - 1.4rem); padding: 2rem 0; }
  .hero-logo { width: 100%; margin: 1rem auto 0; }
  .hero .eyebrow { font-size: .58rem; letter-spacing: .16em; }
  .hero-line { letter-spacing: .1em; line-height: 1.6; }
  .hero-subline { max-width: 300px; }
  .hero-links { gap: .6rem; }
  .hero-links a { padding: .8rem 1rem; }
  .scroll-cue { bottom: 1.2rem; }
  .home-wrap { width: calc(100% - 2rem); }
  .interest-tags { gap: .4rem; margin-top: 2.3rem; }
  .interest-tags span { font-size: .57rem; padding: .5rem .56rem; }
  .home-projects-header { align-items: start; flex-direction: column; }
  .home-project-grid { grid-template-columns: 1fr; }
  .home-project-grid a { min-height: 160px; padding: 1.4rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .home-project-grid a:last-child { border-bottom: 0; }
  .footer-brand { justify-content: center; }
  .footer-links { justify-self: center; }
  .youtube-art { aspect-ratio: 1.7; }
}
@media (prefers-reduced-motion: reduce) { .youtube-art img { transition: none; } }


/* RAGE-HE 0.6 | About page – editorial redesign (other pages unchanged) */
.about-v2 { background: #05070b; }
.about-v2 main { overflow: clip; }
.about-v2-hero,
.about-v2-manifesto,
.about-v2-chapters,
.about-v2-close { width: min(1160px,calc(100% - 64px)); margin-inline: auto; }
.about-v2-hero { padding-top: 150px; padding-bottom: 84px; display:grid; grid-template-columns: minmax(0, .92fr) minmax(0,1.08fr); align-items:center; column-gap:clamp(36px,6vw,98px); }
.about-v2-intro { padding: 22px 0 28px; }
.about-v2-kicker { display:flex; align-items:center; gap:12px; font-size:11px; font-weight:800; letter-spacing:.24em; color:#f6af82; margin: 0 0 30px; }
.about-v2-marker {display:block; width:28px;height:1px;background:#e9925d;}
.about-v2-hero h1 { font-family:Arial,Helvetica,sans-serif; font-size:clamp(44px,5.1vw,72px); font-weight:800; letter-spacing:-.065em; line-height:1.07; margin:0 0 26px; }
.about-v2-hero h1 em { font-style:normal; color:#ffb27d; }
.about-v2-lead {font-size:clamp(16px,1.43vw,18px);color:#b6b9bf;line-height:1.83;max-width:515px;margin:0;}
.about-v2-actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-top:31px;}
.about-v2-actions a{display:inline-flex;justify-content:space-between;align-items:center;gap:24px;text-decoration:none;font-size:13px;font-weight:700;padding:14px 18px;min-height:49px;border-radius:4px;transition:background .2s ease, transform .2s ease;}
.about-v2-actions a:hover{transform:translateY(-2px);}
.about-v2-primary{background:#f3eae2;color:#111419;}
.about-v2-primary:hover{background:#ffbd8c;}
.about-v2-secondary{background:transparent;border:1px solid rgba(255,255,255,.22);color:#e8e9eb;}
.about-v2-secondary:hover{background:rgba(255,255,255,.07);}
.about-v2-picture{position:relative;min-height:415px;aspect-ratio:1.11;isolation:isolate;overflow:hidden;background:#100e0f;border:1px solid rgba(250,166,102,.18);border-radius:7px;box-shadow:0 25px 80px rgba(0,0,0,.25);}
.about-v2-picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:58% center;filter:saturate(.95);}
.about-v2-picture-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,.05) 45%,rgba(0,0,0,.75) 100%);pointer-events:none;}
.about-v2-picture:after {content:"";position:absolute;left:10%;right:10%;top:59%;height:1px;background:linear-gradient(90deg,transparent,rgba(255,165,94,.7),transparent);box-shadow:0 0 16px rgba(255,119,52,.28);opacity:.6;}
.about-v2-picture-label{position:absolute;z-index:2;left:25px;right:25px;bottom:23px;display:flex;align-items:center;gap:12px;color:#f6e2d1;font-size:10px;font-weight:700;letter-spacing:.18em;}
.about-v2-picture-dot{width:6px;height:6px;background:#ffac70;border-radius:100%;box-shadow:0 0 10px #f8894b;}
.about-v2-muted-slash{color:#ef8d51;margin-inline:4px;}
.about-v2-manifesto{display:grid;grid-template-columns:170px 1fr;gap:35px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-block:63px 67px;align-items:start;}
.about-v2-section-number{font-size:10px;font-weight:800;letter-spacing:.24em;color:#f3a474;margin:0;}
.about-v2-manifesto>p{font-size:clamp(23px,2.75vw,35px);letter-spacing:-.035em;line-height:1.35;color:#f0f0ed;margin:0;max-width:810px;}
.about-v2-chapters{padding-block:86px 92px;}
.about-v2-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:32px;}
.about-v2-heading h2{font-size:clamp(32px,3.6vw,48px);line-height:1.13;letter-spacing:-.045em;margin:14px 0 0;font-weight:780;}
.about-v2-heading>p{font-size:14px;line-height:1.65;color:var(--muted);width:min(345px,100%);margin:0;}
.about-v2-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.about-v2-card{display:grid;grid-template-columns:32px minmax(0,1fr) 24px;align-items:start;gap:18px;min-height:156px;padding:27px 26px;background:#0d1119;border:1px solid rgba(255,255,255,.10);border-radius:5px;text-decoration:none;transition:border-color .2s ease,background .2s ease,transform .2s ease;}
.about-v2-card:hover{background:#151920;border-color:rgba(255,170,115,.53);transform:translateY(-2px);}
.about-v2-card-no{font-size:11px;color:#d98a57;font-weight:800;letter-spacing:.06em;padding-top:7px;}
.about-v2-card h3{font-size:clamp(20px,2vw,26px);font-weight:740;letter-spacing:-.035em;line-height:1.1;margin:2px 0 11px;}
.about-v2-card p{font-size:13px;line-height:1.65;color:#a9adb5;margin:0;max-width:330px;}
.about-v2-card-arrow{font-size:20px;color:#f0ad82;line-height:1.2;justify-self:end;}
.about-v2-close{display:flex;justify-content:space-between;gap:40px;align-items:center;padding:54px 0 92px;border-top:1px solid var(--line);}
.about-v2-close h2{font-size:clamp(30px,3.3vw,44px);line-height:1.2;letter-spacing:-.035em;margin:11px 0 12px;}
.about-v2-close p:not(.about-v2-section-number){max-width:580px;color:#aaaeb5;font-size:14px;line-height:1.7;margin:0;}
.about-v2-close>a{flex:none;text-decoration:none;display:inline-flex;align-items:center;gap:26px;color:#fac4a0;padding:16px 0;border-bottom:1px solid rgba(255,161,99,.46);font-size:13px;font-weight:700;}
.about-v2-close>a:hover{color:#fff;border-color:#fff;}
@media(max-width:950px){.about-v2-hero{grid-template-columns:1fr;row-gap:36px;padding-top:114px;}.about-v2-picture{min-height:290px;aspect-ratio:1.8;}.about-v2-intro{padding-bottom:0;}.about-v2-manifesto{grid-template-columns:110px 1fr;gap:20px;}}
@media(max-width:680px){.about-v2-hero,.about-v2-manifesto,.about-v2-chapters,.about-v2-close{width:calc(100% - 36px);}.about-v2-hero{padding-top:103px;padding-bottom:45px;gap:30px;}.about-v2-kicker{margin-bottom:25px;}.about-v2-hero h1{font-size:clamp(41px,10vw,57px);}.about-v2-lead{font-size:15px;line-height:1.75;}.about-v2-actions{margin-top:25px;}.about-v2-picture{min-height:250px;aspect-ratio:1.25;}.about-v2-picture-label{left:17px;right:17px;bottom:15px;font-size:9px;}.about-v2-manifesto{grid-template-columns:1fr;gap:17px;padding-block:36px 40px;}.about-v2-manifesto>p{font-size:clamp(22px,6vw,29px);}.about-v2-chapters{padding-block:65px;}.about-v2-heading{display:block;margin-bottom:24px;}.about-v2-heading>p{margin:17px 0 0;}.about-v2-grid{grid-template-columns:1fr;}.about-v2-card{min-height:132px;padding:22px 19px;gap:12px;grid-template-columns:23px 1fr 18px;}.about-v2-card h3{font-size:22px;}.about-v2-close{display:block;padding:40px 0 66px;}.about-v2-close>a{margin-top:20px;}}


/* ===============================================================
   RAGE-HE v0.7 — calmer editorial typography
   Keep all written content and the visual identity from v0.6.
   =============================================================== */

/* Chapter pages: Story / Photography / Creating / ARTFMI */
.text-page {
  padding-top: clamp(7.5rem, 10vw, 9rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}
.text-page .back-link { margin-bottom: 2rem; }
.text-page h1 {
  font-size: clamp(2.5rem, 4.45vw, 3.875rem);
  line-height: 1.12;
  letter-spacing: -.045em;
  font-weight: 780;
  max-width: 900px;
  margin: 1rem 0 clamp(2rem, 3.5vw, 3rem);
  overflow-wrap: normal;
  text-wrap: balance;
}
.text-page .kicker { margin-bottom: .9rem; }
.reading-copy p { font-size: clamp(1rem, 1.65vw, 1.22rem); }

/* Project landing page, article cards and other headings */
.page-hero {
  padding-top: clamp(8.5rem, 12vw, 10.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}
.page-hero h1 {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  line-height: 1.09;
  letter-spacing: -.045em;
  font-weight: 800;
  max-width: 950px;
  text-wrap: balance;
}
.project-card h2, .lab-grid h2 {
  font-size: clamp(1.65rem, 2.9vw, 2.55rem);
  line-height: 1.14;
  margin-top: 2.75rem;
}
.story-nav h2 { font-size: clamp(1.65rem, 2.9vw, 2.65rem); line-height: 1.14; }
.about-block h2 { font-size: clamp(2.15rem, 4.4vw, 3.75rem); line-height: 1.1; }

/* Balanced scale for secondary homepage headings without changing the hero logo. */
.home-intro h2, .home-projects h2, .youtube-section h2, .project-outro h2 {
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  line-height: 1.09;
}
.youtube-section h2 { font-size: clamp(2.15rem, 4vw, 3.75rem); }
.project-outro h2 { font-size: clamp(2.15rem, 4vw, 3.85rem); }

@media (max-width: 680px) {
  .text-page { width: calc(100% - 2.25rem); padding-top: 7.3rem; }
  .text-page h1 {
    font-size: clamp(2rem, 8.2vw, 2.85rem);
    line-height: 1.13;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
  }
  .text-page .back-link { margin-bottom: 1.7rem; }
  .page-hero h1 { font-size: clamp(2.3rem, 8.8vw, 3.35rem); }
  .page-hero { padding-top: 7.5rem; }
  .home-intro h2, .home-projects h2, .youtube-section h2, .project-outro h2 {
    font-size: clamp(2.1rem, 8vw, 3.1rem);
  }
}


/* =============================================================
   RAGE-HE v0.8 | a consistent editorial system across all pages
   ============================================================= */

/* Chapters: keep heading, label and paragraphs on the same grid line. */
.chapter-page {
  width: min(820px, calc(100% - 3.5rem));
  padding: clamp(8.3rem, 11vw, 10rem) 0 clamp(4.5rem, 8vw, 7rem);
}
.chapter-page .chapter-back {
  margin: 0 0 clamp(2.6rem, 5vw, 4rem);
  display: inline-flex; align-items: center;
  color: #b0b3ba; font-size: .7rem; letter-spacing: .13em;
  transition: color .2s ease;
}
.chapter-page .chapter-back:hover { color: #ffb483; }
.chapter-page .chapter-eyebrow {
  font-size: .69rem; color: #ffae76; letter-spacing: .20em; margin-bottom: 1.2rem;
}
.chapter-page .chapter-title {
  font-size: clamp(2.3rem, 4.1vw, 3.65rem);
  font-weight: 790; line-height: 1.11; letter-spacing: -.045em;
  margin: 0; max-width: 820px; overflow-wrap: normal; text-wrap: balance;
}
.chapter-page .chapter-accent {
  height: 2px; width: 66px;
  background: linear-gradient(90deg,#ffae76,#d56b38);
  margin: clamp(1.9rem, 4.6vw, 3.1rem) 0 clamp(2.1rem, 4.2vw, 3rem);
}
.chapter-page .chapter-copy { margin: 0; max-width: 735px; }
.chapter-page .chapter-copy p {
  font-size: clamp(1rem, 1.38vw, 1.13rem); line-height: 1.79;
  color: #b9bdc4; letter-spacing: -.008em;
  margin: 0 0 1.42rem; max-width: 735px;
}
.chapter-page .chapter-copy .chapter-lead {
  color: #f0ece7; font-size: clamp(1.12rem,1.75vw,1.32rem);
  line-height: 1.66; margin-bottom: 1.65rem;
}
.chapter-page .chapter-next {
  text-decoration: none; display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1.3rem 0; margin-top: clamp(2.8rem,5vw,4.5rem);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: border-color .2s ease, color .2s ease;
}
.chapter-page .chapter-next:hover { border-color: rgba(255,174,118,.6); }
.chapter-next-label { display: grid; gap: .55rem; }
.chapter-next-meta {font-size: .67rem; font-weight: 700; letter-spacing: .18em; color: #ffb180;}
.chapter-next strong {font-size: clamp(1.25rem,2.1vw,1.6rem); font-weight: 680; letter-spacing:-.025em;}
.chapter-next-arrow { color: #ffb180; font-size: 1.5rem; }

/* Project grid: remove the large empty grey strips left by the old grid padding. */
.project-grid {
  width:min(1120px,calc(100% - 3.5rem));
  display:grid; grid-template-columns: repeat(2,minmax(0,1fr));
  background: transparent; padding: 0; margin-top: 0; margin-bottom: 2rem; gap: 12px;
}
.project-card {
  min-height: 228px; background:#0d1118; border:1px solid rgba(255,255,255,.11);
  border-radius: 5px; padding:clamp(1.6rem,3.25vw,2.65rem);
  transition: background .2s,border-color .2s,transform .2s;
}
.project-card:hover {background:#151a22; border-color:rgba(255,174,118,.48); transform:translateY(-2px);}
.project-card h2 { margin: 3rem 0 .7rem; font-size:clamp(1.7rem,2.7vw,2.2rem); }
.project-card p {line-height:1.65; font-size:1rem; max-width:360px; margin:0;}
.page-hero { width:min(1120px,calc(100% - 3.5rem)); padding-top:clamp(8rem,10vw,9.25rem); padding-bottom: 3rem; border-bottom:0; }
.page-hero h1 {font-size:clamp(2.65rem,4.3vw,3.85rem);}
.page-hero>p:last-child { font-size:clamp(1rem,1.6vw,1.18rem); line-height:1.7; max-width:700px; margin:1.15rem 0 0; }
.project-outro { padding-top: clamp(3.5rem,7vw,5rem); }
.project-outro h2 { font-size:clamp(2.05rem,3.7vw,3.45rem); line-height:1.14; }

/* Homepage secondary titles: keep the logo prominent, reduce oversized typography. */
.home-intro h2,.home-projects h2,.youtube-section h2 {
  font-size:clamp(2.2rem,3.8vw,3.5rem); line-height:1.13;
}
.home-project-grid a {min-height: 225px;}
.about-v2-hero h1 {font-size:clamp(2.65rem,4.45vw,4.2rem);}
.about-v2-manifesto>p {font-size:clamp(1.35rem,2.35vw,1.98rem);}

@media(max-width:700px) {
  .chapter-page {width:calc(100% - 2.25rem); padding-top:7.3rem; padding-bottom:4rem;}
  .chapter-page .chapter-title {font-size:clamp(2rem,8vw,2.75rem); line-height:1.16; overflow-wrap:break-word;}
  .chapter-page .chapter-back {margin-bottom:2.8rem;}
  .chapter-page .chapter-accent {margin-top:1.65rem; margin-bottom:2rem;}
  .chapter-page .chapter-copy p{font-size:1rem;line-height:1.75;}
  .chapter-page .chapter-copy .chapter-lead {font-size:1.12rem;line-height:1.7;}
  .project-grid {grid-template-columns:1fr; width:calc(100% - 2.25rem); gap:10px;}
  .page-hero {width:calc(100% - 2.25rem); padding-top:7.3rem; padding-bottom:2.2rem;}
  .page-hero h1 {font-size:clamp(2.3rem,8.1vw,3rem);}
  .project-card {min-height:177px;padding:1.65rem;}
  .project-card h2 {margin:1.7rem 0 .6rem;}
  .home-project-grid a {min-height:165px;}
  .about-v2-hero h1 {font-size:clamp(2.4rem,9.3vw,3.15rem);}
}

/* V0.9 – editorials, public posts and unobtrusive RH media watermark */
.published-section { width:min(1120px,calc(100% - 3.5rem)); margin: 0 auto; padding: 4rem 0 7rem; scroll-margin-top:105px; }
.published-section .intro-kicker{margin:0 0 .55rem}.published-section h2{font-size:clamp(2rem,3.65vw,3.2rem);margin:.35rem 0 1.2rem;line-height:1.13}.published-section .section-intro{color:#b4b8c0;max-width:730px;line-height:1.75;margin-bottom:2rem}
.published-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.published-card {min-width:0;background:#10141c;border:1px solid rgba(255,255,255,.12);border-radius:7px;overflow:hidden;text-decoration:none;color:#f4f3f0;display:flex;flex-direction:column;transition:transform .2s,border-color .2s}.published-card:hover{transform:translateY(-3px);border-color:rgba(255,170,113,.6)}.published-card-art{position:relative;aspect-ratio:16/10;background:#070a10;overflow:hidden}.published-card-art>img:not(.feed-watermark){display:block;width:100%;height:100%;object-fit:cover}.published-card-art-empty{display:grid;place-items:center;background:radial-gradient(circle at 35% 35%,#29202a,#080b10)}.published-card-art-empty>img{width:38%!important;height:auto!important;object-fit:contain!important}.feed-watermark{position:absolute;right:11px;bottom:11px;width:39px;height:28px;object-fit:contain;opacity:.78;pointer-events:none;filter:drop-shadow(0 1px 3px black)}.published-card-content{padding:1.2rem 1.3rem 1.5rem;display:flex;flex-direction:column;gap:.6rem;flex:1}.published-card-meta{font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;color:#f3a572}.published-card h3{font-size:clamp(1.15rem,1.65vw,1.5rem);letter-spacing:-.02em;margin:0}.published-card p{font-size:.93rem;color:#b5b9c3;line-height:1.6;margin:0 0 .5rem;overflow-wrap:anywhere}.read-link{margin-top:auto;color:#fbb07d;font-size:.7rem;font-weight:800;letter-spacing:.12em}.published-empty{padding:1.8rem;border:1px dashed rgba(255,255,255,.17);border-radius:6px;color:#aeb3c0;font-size:.96rem}.category-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.65rem}.category-filters button{background:#111721;border:1px solid #37404f;color:#ddd;border-radius:99px;padding:.6rem .95rem;font:inherit;font-size:.84rem;cursor:pointer}.category-filters button.active,.category-filters button:hover{background:#d99a67;color:#0d0d0d;border-color:#d99a67}.published-post{width:min(940px,calc(100% - 3.5rem));margin:0 auto;padding:clamp(8rem,10vw,9.25rem) 0 7rem}.published-post .chapter-back{display:inline-block;font-size:.72rem;letter-spacing:.11em;text-decoration:none;color:#a6aab2;margin-bottom:2rem}.published-post .chapter-back:hover{color:#fcb07b}.published-post h1{font-size:clamp(2.2rem,5vw,4.1rem);line-height:1.12;letter-spacing:-.04em;overflow-wrap:anywhere;margin:.5rem 0 1.4rem}.published-lead{font-size:clamp(1.03rem,1.9vw,1.23rem);color:#c6c6ca;line-height:1.75;max-width:780px;margin:1.2rem 0 2.2rem}.published-body{font-size:1.07rem;line-height:1.87;color:#c6cbd5;max-width:750px;overflow-wrap:anywhere;margin:3rem 0}.media-frame{position:relative;overflow:hidden;margin:1.5rem 0;background:#05070b;border-radius:6px;border:1px solid rgba(255,255,255,.07)}.media-frame>img:not(.media-watermark),.media-frame video{display:block;width:100%;height:auto;max-height:85vh;object-fit:contain}.media-frame.video{aspect-ratio:16/9}.media-frame iframe,.media-frame.video>video{display:block;width:100%;height:100%;border:0;object-fit:contain}.media-watermark{position:absolute;right:1rem;bottom:1rem;width:64px;height:40px;object-fit:contain;opacity:.74;pointer-events:none;z-index:2;filter:drop-shadow(0 2px 5px #000)}.published-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:.9rem}.published-gallery .media-frame{margin:0}.published-audio{padding:1rem 1.25rem;background:#111720;border:1px solid #353840;border-radius:7px;margin:2rem 0}.published-audio p{margin:0 0 .6rem;color:#f6b483}.published-audio audio{width:100%}.published-end{margin-top:4rem;padding-top:2rem;border-top:1px solid rgba(255,255,255,.15)}html[lang=sv] [data-langonly=en],html[lang=en] [data-langonly=sv]{display:none!important}.thoughts-intro{max-width:650px}.thoughts-intro p{color:#c2c3c6;line-height:1.7}.thoughts-main .published-section{padding-top:2rem}
@media(max-width:900px){.published-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.published-grid{grid-template-columns:1fr}.published-section,.published-post{width:calc(100% - 2.25rem)}.published-section{padding:3rem 0 4rem}.published-post{padding-top:7rem}.published-gallery{grid-template-columns:1fr}.media-watermark{width:48px;height:32px;right:.6rem;bottom:.6rem}}

@media(max-width:1050px){
 .site-header nav{display:none}
 .menu-button{display:block}
 .site-header.menu-open nav{display:flex;position:absolute;top:66px;left:0;right:0;background:rgba(3,5,9,.98);padding:1.5rem;flex-direction:column;border-top:1px solid var(--line);border-bottom:1px solid var(--line);z-index:20}
}
