:root {
  --ink: #070707; --paper: #f4f2eb; --signal: #adff00; --violet: #5a24ff;
  --card-blue: #2d62ff; --warning: #ff5a36; --accent: var(--signal);
  --line-dark: rgba(244,242,235,.2); --line-light: rgba(7,7,7,.2);
  --pad: clamp(1.25rem,4vw,4.5rem); --header-height: 5rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); background: var(--ink); }
body { margin: 0; color: var(--paper); background: var(--ink); font-family: Arial,Helvetica,sans-serif; text-rendering: geometricPrecision; }
a { color: inherit; text-decoration: none; }
a:focus-visible,summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.mono { font-family: 'SFMono-Regular',Consolas,'Liberation Mono',monospace; letter-spacing: .08em; font-size: .65rem; line-height: 1.6; }
.noise { position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.skip-link { position: fixed; z-index: 50; left: 1rem; top: -6rem; padding: 1rem; color: var(--ink); background: var(--signal); }
.skip-link:focus { top: 1rem; }
.site-header { height: var(--header-height); position: fixed; inset: 0 0 auto; z-index: 30; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 3rem; background: rgba(7,7,7,.94); border-bottom: 1px solid var(--line-dark); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { display: block; width: 124px; height: auto; }
@media(hover:hover) { .brand:hover img { opacity: .82; } }
.site-header .brand, .site-footer .brand { min-height: 44px; }
.mobile-navigation { display: none; }
.field-nav { position: relative; display: flex; align-items: center; gap: clamp(1rem,2.3vw,2.5rem); min-width: 0; }
.field-nav a { font-family: 'SFMono-Regular',Consolas,monospace; font-size: .69rem; padding: .65rem 0; white-space: nowrap; color: #b7b6b0; border-bottom: 2px solid transparent; transition: color .2s; }
.field-nav a:hover { color: var(--paper); }
.field-nav a[aria-current='page'] { color: var(--signal); border-color: var(--signal); }
.section-space { padding: clamp(4.5rem,8vw,9rem) var(--pad); }
.section-label { color: var(--accent); margin: 0 0 clamp(2.5rem,5vw,5rem); }
.eyebrow { color: #aaa9a3; margin: 0 0 1.2rem; }
.identity-hero { position: relative; min-height: 94svh; padding: calc(var(--header-height) + 3rem) var(--pad) 4rem; display: flex; flex-direction: column; border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.identity-grid { position: absolute; inset: var(--header-height) 0 0; opacity: .2; pointer-events: none; background-image: linear-gradient(var(--line-dark) 1px,transparent 1px),linear-gradient(90deg,var(--line-dark) 1px,transparent 1px); background-size: 12.5vw 8rem; mask-image: linear-gradient(#000,transparent); }
.identity-hero:after { content: ''; position: absolute; top: var(--header-height); bottom: 0; right: 9vw; width: 1px; background: var(--violet); opacity: .65; }
.identity-meta { position: relative; z-index: 1; display: flex; justify-content: space-between; color: var(--signal); }
.identity-intro { position: relative; z-index: 1; padding-top: clamp(3rem,6vw,7rem); max-width: 93%; }
.identity-intro h1 { margin: 0; font-size: clamp(3.3rem,7.7vw,8.4rem); line-height: .92; letter-spacing: -.065em; font-weight: 700; }
.identity-intro h1 span { color: var(--signal); }
.identity-bottom { display: flex; gap: 3rem; align-items: end; justify-content: space-between; margin-top: 3rem; max-width: 66rem; }
.identity-bottom p { margin: 0; font-size: clamp(1rem,1.5vw,1.3rem); line-height: 1.5; color: #bab9b3; }
.text-link { display: inline-flex; align-items: center; gap: 1.5rem; min-height: 44px; border-bottom: 1px solid currentColor; padding: .6rem 0; font-size: .9rem; line-height: 1.4; }
.text-link span { font-size: 1.25rem; }
.text-link:hover { color: var(--signal); }
.bio-section { background: var(--paper); color: var(--ink); }
.bio-section .section-label { color: var(--violet); }
.bio-grid,.background-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 9vw; }
.bio-grid h2,.background-grid h2,.areas-heading h2 { margin: 0; font-size: clamp(2.7rem,5.5vw,6rem); line-height: .97; letter-spacing: -.06em; }
.bio-grid h2 span { color: #1e50eb; }
.bio-copy p { font-size: 1.1rem; line-height: 1.65; margin: 0 0 1.5rem; max-width: 40rem; }
.bio-copy p.lead { font-size: clamp(1.4rem,2.3vw,2rem); line-height: 1.4; letter-spacing: -.03em; }
.bio-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2rem; }
.bio-links a:hover { color: #1e50eb; }
.areas-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 4rem; }
.areas-heading p { color: #bab9b3; line-height: 1.6; }
.area-list { border-top: 1px solid var(--line-dark); }
.area-row { --row-color: var(--paper); display: grid; grid-template-columns: 3rem minmax(0,1fr) 12rem 2rem; gap: 2vw; align-items: center; padding: 2.25rem 0; border-bottom: 1px solid var(--line-dark); transition: padding .25s,color .25s; }
.area-row[data-accent='blue'] { --row-color: #5380ff; }.area-row[data-accent='green'] { --row-color: var(--signal); }.area-row[data-accent='violet'] { --row-color: #a688ff; }.area-row[data-accent='orange'] { --row-color: #ff795b; }
.area-row h3 { font-size: clamp(1.5rem,3.4vw,3.6rem); line-height: 1.1; letter-spacing: -.05em; margin: 0; overflow-wrap: anywhere; }
.area-row p { color: #b7b6b0; line-height: 1.5; margin: .65rem 0 0; }
.area-number,.area-arrow { color: var(--row-color); }.area-arrow { font-size: 2rem; }
.area-state { font-size: .57rem; color: #b7b6b0; }
.area-row[data-accent='sky'] { --row-color: #80bfff; }
.area-row:hover { color: var(--row-color); padding-left: .7rem; }
.background-section { border-top: 1px solid var(--line-dark); }
.background-section .section-label { color: #7297ff; }.background-grid h2 span { color: var(--card-blue); }
.background-note { margin: 2.5rem 0 0; max-width: 30rem; line-height: 1.6; color: #b7b6b0; }
.career-list article { padding: 0 0 2rem; margin: 0 0 2rem; border-bottom: 1px solid var(--line-dark); }
.career-list article .mono { color: #7297ff; font-size: .6rem; }
.career-list h3 { font-size: 1.35rem; line-height: 1.2; margin: .7rem 0; letter-spacing: -.025em; }
.career-list article p:last-child { line-height: 1.5; color: #b7b6b0; }
.hello-section { background: var(--signal); color: var(--ink); }
.hello-section h2 { margin: 2rem 0; font-size: clamp(2.5rem,6vw,6rem); line-height: .98; letter-spacing: -.06em; }.hello-section a:hover { color: var(--ink); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2rem var(--pad); border-top: 1px solid var(--line-dark); }
.site-footer p,.site-footer>a:last-child:not(.brand) { font-size: .8rem; color: #b7b6b0; line-height: 1.5; }
.site-footer>.mono { color: #b7b6b0; font-size: .6rem; }

body[data-field='wear'] { --accent: var(--signal); }
body[data-field='sound'] { --accent: #ab90ff; }
body[data-field='photography'] { --accent: var(--paper); }
body[data-field='mirwacha'] { --accent: #ff8c6b; }
body[data-field='travel'] { --accent: #80bfff; }
.field-hero { min-height: 80svh; padding: calc(var(--header-height) + 4rem) var(--pad) 5rem; position: relative; overflow: hidden; border-bottom: 1px solid var(--line-dark); }
.field-hero>.section-label { position: relative; z-index: 2; }
.field-hero h1 { font-size: clamp(3.5rem,8vw,9rem); line-height: .93; letter-spacing: -.065em; margin: 0; max-width: 13ch; position: relative; z-index: 2; }
.field-hero h1 span { color: var(--accent); }
.field-intro { max-width: 38rem; line-height: 1.6; color: #c1c0bb; font-size: clamp(1.1rem,1.6vw,1.35rem); margin: 2.5rem 0 0; position: relative; z-index: 2; }
.field-orbit { position: absolute; right: 7vw; top: 32%; width: 27vw; aspect-ratio: 1; border: 1px solid var(--accent); opacity: .5; transform: rotate(-10deg); }
.field-orbit:before,.field-orbit:after { content: ''; position: absolute; inset: 15%; border: 1px solid var(--accent); }
.field-orbit:after { inset: 30%; background: var(--accent); opacity: .18; }
body[data-field='sound'] .field-orbit,body[data-field='sound'] .field-orbit:before,body[data-field='sound'] .field-orbit:after { border-radius: 50%; }
body[data-field='mirwacha'] .field-orbit { transform: rotate(0); background: repeating-linear-gradient(90deg,transparent 0 10%,#ff8c6b25 10% 12%),repeating-linear-gradient(0deg,transparent 0 10%,#ff8c6b25 10% 12%); }
body[data-field='photography'] .field-orbit { aspect-ratio: 4/5; transform: rotate(0); }
body[data-field='travel'] .field-orbit { transform: rotate(12deg); aspect-ratio: 5/4; border-radius: 48% 52% 38% 62%; }
body[data-field='travel'] .field-orbit:before,body[data-field='travel'] .field-orbit:after { border-radius: inherit; }
.field-body { padding: clamp(4rem,8vw,8rem) var(--pad); display: grid; grid-template-columns: 1fr 1.15fr; gap: 10vw; }
.editorial-intro h2 { margin: 0 0 1.5rem; font-size: clamp(2.5rem,4.5vw,4.8rem); letter-spacing: -.055em; line-height: .98; }
.editorial-intro p { max-width: 29rem; color: #b7b6b0; line-height: 1.65; }
.editorial-list { border-top: 1px solid var(--line-dark); }
.editorial-list article { padding: 1.5rem 0 2rem; border-bottom: 1px solid var(--line-dark); }
.editorial-list .mono { color: var(--accent); font-size: .62rem; }
.editorial-list h3 { font-size: clamp(1.5rem,2.6vw,2.5rem); line-height: 1.1; letter-spacing: -.04em; margin: 1rem 0; }
.editorial-list p { color: #b7b6b0; max-width: 38rem; line-height: 1.6; }
.field-back { display: block; margin: 0 var(--pad) 4rem; padding: 1.5rem 0; border-top: 1px solid var(--line-dark); color: var(--accent); }

@media(max-width:1000px) {
  .site-header { gap: 1rem; }
  .site-header>.field-nav { display: none; }
  .mobile-navigation { display: block; }
  .mobile-navigation summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 1rem; min-height: 44px; padding: .5rem .25rem .5rem .75rem; font-size: 1rem; }
  .mobile-navigation summary::-webkit-details-marker { display: none; }
  .mobile-navigation summary span { font-size: 1.5rem; line-height: 1; color: var(--signal); }
  .mobile-navigation[open] summary span { transform: rotate(45deg); }
  .mobile-nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .35rem 1.5rem; padding: 1rem var(--pad) 1.5rem; background: #0c0c0c; border-bottom: 1px solid #72726e; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 15px 24px #0005; }
  .mobile-nav a { min-height: 48px; display: flex; align-items: center; padding: .65rem .75rem; font-size: 1rem; overflow-wrap: anywhere; border: 1px solid transparent; }
  .mobile-nav a[aria-current='page'] { color: var(--signal); border-color: #799c32; background: #19210b; }
  .mobile-nav a:hover { background: #202020; }
  .mobile-nav a:focus-visible { outline-offset: -3px; }
  .identity-hero { min-height: 86svh; }.identity-intro { max-width: 100%; }
  .area-row { grid-template-columns: 2rem minmax(0,1fr) 2rem; gap: 1rem; }.area-state { grid-column: 2; }.area-arrow { grid-column: 3; grid-row: 1; }.area-number { align-self: start; }
  .field-orbit { right: -7vw; top: 34%; width: 40vw; opacity: .23; }
}
@media(max-width:480px) { .mobile-nav { grid-template-columns: 1fr; gap: .2rem; } }
@media(max-width:650px) {
  .identity-meta { gap: 1.5rem; font-size: .55rem; }.identity-meta span:last-child { text-align: right; }
  .identity-hero { padding-bottom: 3rem; }.identity-intro h1 { font-size: clamp(2.9rem,10vw,4.6rem); }
  .identity-bottom { display: block; margin-top: 2rem; }.identity-bottom .text-link { margin-top: 1.5rem; }
  .bio-grid,.background-grid,.field-body { grid-template-columns: 1fr; gap: 3rem; }
  .bio-grid h2 br { display: none; }.bio-grid h2 { max-width: 11ch; }.bio-grid h2 span { display: block; }
  .areas-heading { display: block; }.areas-heading p { margin-top: 2rem; }
  .area-row h3 { font-size: clamp(1.15rem,5.6vw,2.3rem); }.area-row { padding: 1.7rem 0; }.area-row p { font-size: .9rem; }
  .field-hero { min-height: 76svh; padding-top: calc(var(--header-height) + 3rem); }.field-hero h1 { font-size: clamp(3.2rem,12vw,5rem); }
  .field-orbit { width: 65vw; top: 48%; right: -15vw; opacity: .16; }
  .site-footer { align-items: start; flex-direction: column; gap: .7rem; }.site-footer p { margin: 0; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Flechas dibujadas en SVG: los caracteres ↗ y ↘ salen como emoji en iOS. */
.arrow { display: inline-block; flex: none; width: 1em; height: 1em; vertical-align: -.125em; fill: none; stroke: currentColor; stroke-width: 1.5px; stroke-linecap: square; overflow: visible; }
.arrow path { vector-effect: non-scaling-stroke; }

/* Cinta de idiomas (AB#348): «hola» en cada idioma, discreta, abajo a la derecha. Sin JavaScript. */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body { padding-bottom: 2rem; }
html { scroll-padding-bottom: 2.5rem; }
.lang-ribbon { position: fixed; right: 0; bottom: 0; z-index: 25; }
.lang-ribbon ul { display: flex; margin: 0; padding: 0 .6rem; list-style: none; background: var(--ink); border: 1px solid var(--line-dark); border-right: 0; border-bottom: 0; }
.lang-ribbon a { position: relative; display: flex; align-items: center; min-height: 28px; padding: 0 .55rem; font-family: 'SFMono-Regular',Consolas,monospace; font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: var(--paper); transition: color .2s ease; }
.lang-ribbon a[aria-current] { color: var(--warning); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; }
@media(hover:hover) { .lang-ribbon a:not([aria-current]):hover { color: #a9a8a2; } }
.lang-ribbon a:focus-visible { outline: 2px solid var(--paper); outline-offset: -3px; }
/* En pantallas táctiles el área de toque llega a 44 px aunque la cinta se vea fina. */
@media(pointer:coarse) { .lang-ribbon a::after { content: ''; position: absolute; inset: -16px 0 0; } }
@media(prefers-reduced-motion:no-preference) {
  .lang-ribbon { animation: ribbon-in .7s cubic-bezier(.2,.7,.2,1) .35s both; }
  @keyframes ribbon-in { from { transform: translateX(100%); } }
}
@media(prefers-reduced-motion:reduce) {
  .lang-ribbon { animation: ribbon-fade .15s ease both; }
  @keyframes ribbon-fade { from { opacity: 0; } }
}
@media(max-width:700px) {
  body { padding-bottom: calc(29px + env(safe-area-inset-bottom)); }
  .lang-ribbon { left: 0; }
  /* Sin overflow: cabe hasta 320 px y así no recorta el área de toque ampliada. */
  .lang-ribbon ul { justify-content: space-between; padding: 0 .25rem env(safe-area-inset-bottom); border-left: 0; }
  .lang-ribbon a { padding: 0 .4rem; letter-spacing: .03em; }
}
@media(max-width:380px) {
  .lang-ribbon a { padding: 0 .28rem; letter-spacing: 0; }
}

/* Tipografía por idioma (AB#348). */
h1, h2, h3 { overflow-wrap: break-word; }
html:lang(de) :is(h1,h2,h3), html:lang(fr) :is(h1,h2) { hyphens: auto; }
/* El chino no lleva tracking negativo y necesita más interlineado que el latino. */
html:lang(zh-Hans) :is(h1,h2,h3,.contact-cta,.lead,.manifesto-copy) { letter-spacing: 0; line-height: 1.2; }
html:lang(zh-Hans) { line-break: strict; }
