:root {
  --ink: #0b0b0d;
  --paper: #f3f0e8;
  --accent: #2648ff;
  --accent-2: #d9ff43;
  --line: rgba(11,11,13,.22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55; overflow-x: hidden; }
body[data-company="conexion"] { --paper: #f5eee5; --accent: #f04a2f; --accent-2: #2648ff; }
body[data-company="barrioz"] { --paper: #e9f1e5; --accent: #15754b; --accent-2: #ffcb3d; }
body[data-company="narratives"] { --paper: #ece7f5; --accent: #6b37d9; --accent-2: #ff573b; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.page-shell { min-height: 100vh; }
.sub-header { min-height: 82px; padding: 16px clamp(20px,4vw,64px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 13px; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: var(--paper); background: var(--ink); font-size: 12px; letter-spacing: .08em; }
.parent-link { font-size: 14px; font-weight: 800; text-decoration: none; border-bottom: 1px solid; padding-bottom: 4px; }
.parent-link:hover, .parent-link:focus-visible { color: var(--accent); }
.sub-hero { min-height: calc(100vh - 82px); padding: clamp(50px,8vw,110px) clamp(20px,4vw,64px); display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); gap: 7vw; align-items: center; position: relative; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-label { margin: 0 0 28px; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; }
.sub-hero h1 { margin: 0; max-width: 980px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(58px,8.5vw,138px); line-height: .86; letter-spacing: -.067em; font-weight: 400; }
.sub-hero h1 em { color: var(--accent); font-style: italic; font-weight: 400; }
.hero-note { margin: 38px 0 28px; max-width: 680px; font-size: clamp(18px,1.8vw,25px); }
.down-link { display: inline-flex; align-items: center; gap: 18px; font-weight: 800; text-decoration: none; border-bottom: 2px solid; padding-bottom: 7px; }
.down-link span { transition: transform .25s; }
.down-link:hover span { transform: translateY(5px); }
.identity-art { aspect-ratio: .76; min-height: 520px; position: relative; border: 1px solid var(--ink); overflow: hidden; background: var(--accent); }
.identity-art::before { content: ''; position: absolute; inset: 12%; border: 2px solid var(--ink); border-radius: 50%; background: var(--accent-2); }
.identity-art::after { content: attr(data-word); position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-90deg); color: var(--ink); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(60px,8vw,120px); line-height: .8; letter-spacing: -.06em; white-space: nowrap; }
.art-code { position: absolute; z-index: 2; inset: 22px 24px auto auto; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.intro { padding: clamp(90px,12vw,180px) clamp(20px,4vw,64px); border-top: 1px solid var(--line); display: grid; grid-template-columns: .35fr 1.1fr .55fr; gap: 5vw; }
.intro h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(42px,5.8vw,86px); line-height: .98; letter-spacing: -.055em; font-weight: 400; }
.intro-copy { padding-top: 8px; font-size: 18px; }
.intro-copy p { margin: 0 0 24px; }
.work { background: var(--ink); color: var(--paper); padding: clamp(90px,11vw,160px) clamp(20px,4vw,64px); }
.work-heading { display: grid; grid-template-columns: .35fr 1.65fr; gap: 5vw; margin-bottom: 72px; }
.work h2 { margin: 0; max-width: 920px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(44px,6vw,88px); line-height: .98; letter-spacing: -.055em; font-weight: 400; }
.work-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #444; }
.work-card { min-height: 290px; padding: 30px 28px 30px 0; border-bottom: 1px solid #444; }
.work-card + .work-card { padding-left: 28px; border-left: 1px solid #444; }
.work-card span { color: var(--accent-2); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.work-card h3 { margin: 70px 0 15px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(28px,3vw,42px); line-height: 1; font-weight: 400; letter-spacing: -.035em; }
.work-card p { color: #c6c2ba; max-width: 390px; }
.statement { padding: clamp(100px,14vw,210px) clamp(20px,4vw,64px); position: relative; overflow: hidden; }
.statement::before { content: ''; position: absolute; width: clamp(180px,30vw,480px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); right: -8vw; top: 10%; opacity: .15; }
.statement blockquote { position: relative; margin: 0; max-width: 1160px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(46px,7vw,106px); line-height: .94; letter-spacing: -.06em; }
.statement blockquote em { color: var(--accent); font-weight: 400; }
.status { background: var(--accent); color: var(--paper); padding: clamp(72px,9vw,120px) clamp(20px,4vw,64px); display: grid; grid-template-columns: 1fr .55fr; gap: 6vw; align-items: end; }
.status h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(48px,6vw,90px); line-height: .95; letter-spacing: -.055em; font-weight: 400; }
.status p { max-width: 520px; font-size: 18px; }
.status a { display: inline-flex; gap: 16px; font-weight: 800; text-decoration: none; border-bottom: 2px solid; padding-bottom: 7px; }
.network-nav { padding: 34px clamp(20px,4vw,64px); display: flex; flex-wrap: wrap; gap: 16px 36px; border-bottom: 1px solid var(--line); }
.network-nav strong { margin-right: auto; }
.network-nav a { text-decoration: none; font-size: 14px; }
.network-nav a:hover, .network-nav a:focus-visible { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.sub-footer { padding: 28px clamp(20px,4vw,64px); display: flex; justify-content: space-between; gap: 20px; font-size: 13px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .sub-hero { grid-template-columns: 1fr; }
  .identity-art { min-height: 380px; aspect-ratio: 1.4; }
  .intro { grid-template-columns: 1fr; }
  .work-heading, .status { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card + .work-card { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .brand > span:last-child { max-width: 180px; line-height: 1.1; }
  .sub-hero h1 { font-size: clamp(53px,17vw,82px); }
  .parent-link { font-size: 12px; }
  .sub-footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
