.section-rail {
  position: fixed;
  z-index: 80;
  left: 1rem;
  top: 50%;
  display: grid;
  gap: .2rem;
  transform: translateY(-50%);
}
.section-rail a {
  display: flex;
  gap: .5rem;
  align-items: center;
  min-height: 34px;
  padding: .35rem .6rem;
  color: rgba(242,231,208,.55);
  text-decoration: none;
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-left: 1px solid rgba(242,231,208,.14);
}
.section-rail a span { color: var(--brass); font-variant-numeric: tabular-nums; }
.section-rail a:hover { color: var(--cream); border-left-color: var(--uvita-vivid); }

.lab-canvas { overflow: clip; }
.lab-section {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 10rem) clamp(1.2rem, 7vw, 7rem);
  border-top: 1px solid var(--line);
}
.section-heading { max-width: 980px; margin-bottom: clamp(2rem, 6vw, 5rem); }
.split-heading { max-width: none; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 3rem; align-items: end; }
.section-index { margin-bottom: .8rem; color: var(--brass); font-size: .7rem; font-weight: 700; letter-spacing: .18em; }
.section-note { max-width: 34rem; color: var(--muted); font-size: .95rem; }

.lab-hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-image-wrap { position: absolute; inset: 0; }
.hero-image { width: 100%; height: 100%; object-fit: cover; filter: saturate(.76) contrast(1.1) brightness(.64); }
.hero-image-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,9,11,.96) 0%, rgba(20,9,11,.74) 44%, rgba(20,9,11,.22) 76%), linear-gradient(0deg, rgba(20,9,11,.9), transparent 48%); }
.hero-copy { position: relative; z-index: 2; width: min(1100px, 90vw); padding: clamp(4rem, 9vw, 8rem) clamp(1.2rem, 8vw, 8rem); }
.hero-copy h1 { max-width: 930px; margin-bottom: 2rem; }
.hero-lede { max-width: 42rem; color: #e4d8c5; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.hero-rule { width: min(25rem, 55vw); height: 1px; background: rgba(242,231,208,.34); margin: 2.5rem 0 1.5rem; }
.hero-principle { font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.55rem); line-height: 1.35; }
.hero-principle span { color: var(--muted); font-family: var(--sans); font-size: .78em; }
.hero-stamp {
  position: absolute;
  z-index: 3;
  right: clamp(1.2rem, 6vw, 6rem);
  bottom: clamp(2rem, 7vw, 6rem);
  width: 132px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid rgba(242,231,208,.5);
  border-radius: 50%;
  transform: rotate(-7deg);
  background: rgba(20,9,11,.24);
  backdrop-filter: blur(8px);
}
.hero-stamp span { font-size: .55rem; letter-spacing: .14em; }
.hero-stamp strong { font-family: var(--serif); font-size: 2rem; color: var(--brass); }

.brand-core-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.25rem; }
.brand-core-grid .section-heading { grid-column: 1 / -1; }
.tension-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tension { padding: 1.3rem 1rem; border-right: 1px solid var(--line); }
.tension:last-child { border-right: 0; }
.tension span { display: block; color: var(--muted); font-size: .74rem; }
.tension strong { display: block; margin: .3rem 0; font-family: var(--serif); font-size: 1.3rem; }
.tension i { color: var(--uvita-vivid); font-style: normal; }
.principle-card { min-height: 340px; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); }
.principle-card--dark { background: var(--surface); }
.principle-card--cream { background: var(--cream); color: var(--ink); }
.principle-card--cream .eyebrow { color: var(--uvita); }
.clean-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.clean-list li { padding-top: .85rem; border-top: 1px solid currentColor; border-top-color: rgba(127,103,91,.2); font-family: var(--serif); font-size: clamp(1rem, 1.7vw, 1.35rem); }

.archive-stage { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.archive-card { position: relative; min-height: 520px; overflow: hidden; background: #0e080a; border: 1px solid var(--line); }
.archive-card img { width: 100%; height: 54%; object-fit: cover; filter: saturate(.78) contrast(1.08); }
.archive-card__copy { padding: 1.5rem; }
.archive-card__year { display: block; color: var(--brass); font-family: var(--serif); font-size: 2.6rem; }
.archive-card__copy p { color: var(--muted); font-size: .92rem; }
.archive-wall-card { display: grid; grid-template-columns: 1.3fr .7fr; margin: 0; background: var(--cream); color: var(--ink); }
.archive-wall-card img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; }
.archive-wall-card figcaption { padding: clamp(2rem, 5vw, 5rem); align-self: end; }
.archive-wall-card figcaption span { display:block; color: var(--uvita); font-size: .66rem; font-weight: 700; letter-spacing: .14em; }
.archive-wall-card figcaption strong { display:block; margin: 1rem 0; font-family: var(--serif); font-size: clamp(2rem,4vw,4rem); line-height: .96; }

.identity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.logo-stage, .type-stage { min-height: 540px; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); }
.logo-stage { display: grid; grid-template-rows: auto 1fr auto; background: var(--cream); color: var(--ink); }
.logo-stage__topline { display:flex; justify-content:space-between; gap:1rem; font-size:.62rem; letter-spacing:.13em; }
.logo-stage img { width: min(360px, 82%); margin: auto; filter: brightness(.16) saturate(.8); }
.logo-stage p { max-width: 30rem; margin-bottom: 0; font-size: .86rem; }
.type-stage { background: var(--surface); }
.spec-label { display:block; margin-bottom:1rem; color:var(--brass); font-size:.62rem; letter-spacing:.15em; }
.type-display { margin: 0 0 3rem; font-family: var(--serif); font-size: clamp(3rem,6vw,6rem); line-height:.86; letter-spacing:-.05em; }
.type-sans { margin-bottom: 2rem; font-size:clamp(1rem,1.8vw,1.4rem); line-height:1.5; font-weight:700; letter-spacing:.08em; }
.type-stage small { color: var(--muted); }
.palette { display: grid; grid-template-columns: repeat(5,1fr); margin-top: 1rem; }
.swatch { min-height: 180px; padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid rgba(0,0,0,.14); }
.swatch strong { font-family: var(--serif); font-size: 1.1rem; }
.swatch span { font-size: .7rem; letter-spacing: .08em; }
.brand-grammar { display:grid; grid-template-columns:repeat(4,1fr); margin-top:clamp(3rem,7vw,6rem); border-top:1px solid var(--line); }
.brand-grammar > div { padding:1.5rem 1rem; border-right:1px solid var(--line); }
.brand-grammar span { color: var(--brass); font-size:.66rem; }
.brand-grammar strong { display:block; margin:.8rem 0; font-family:var(--serif); font-size:1.5rem; }
.brand-grammar p { color:var(--muted); font-size:.82rem; }

.photo-grid { display:grid; grid-template-columns:repeat(12,1fr); grid-auto-rows:130px; gap:.75rem; }
.photo-tile { overflow:hidden; margin:0; background:var(--surface); }
.photo-tile img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease, filter .45s ease; }
.photo-tile:hover img { transform:scale(1.025); filter:contrast(1.05); }
.photo-tile:nth-child(1), .photo-tile:nth-child(6) { grid-column:span 7; grid-row:span 3; }
.photo-tile:nth-child(2), .photo-tile:nth-child(5) { grid-column:span 5; grid-row:span 2; }
.photo-tile:nth-child(3), .photo-tile:nth-child(4), .photo-tile:nth-child(7), .photo-tile:nth-child(8) { grid-column:span 5; grid-row:span 2; }
.photo-manifesto { margin-top:1rem; padding:clamp(1.5rem,4vw,3rem); display:grid; grid-template-columns:auto 1fr auto 1fr; gap:1rem; align-items:center; background:var(--cream); color:var(--ink); }
.photo-manifesto p { margin:0; color:var(--uvita); font-weight:800; }
.photo-manifesto strong { font-family:var(--serif); font-size:clamp(1rem,2vw,1.5rem); }

.motion-concept-placeholder { position:relative; min-height:520px; display:grid; place-content:center; background:radial-gradient(circle at 50% 40%, rgba(124,31,46,.3), transparent 40%), #0f090b; border:1px solid var(--line); perspective:1000px; overflow:hidden; }
.layered-paper { position:absolute; width:250px; height:330px; display:flex; align-items:flex-end; padding:1rem; border:1px solid rgba(242,231,208,.35); font-size:.65rem; letter-spacing:.14em; box-shadow:var(--shadow); }
.layer-a { left:calc(50% - 210px); top:100px; background:var(--cream); color:var(--ink); transform:rotate(-9deg) translateZ(-20px); }
.layer-b { left:calc(50% - 80px); top:70px; background:var(--uvita); transform:rotate(4deg) translateZ(40px); }
.layer-c { left:calc(50% + 45px); top:115px; background-image:linear-gradient(rgba(20,9,11,.22),rgba(20,9,11,.22)),url('../assets/photos/08_funfun-foto18-1.jpg'); background-size:cover; transform:rotate(10deg) translateZ(80px); }
.motion-concept-placeholder > p { position:absolute; left:1.5rem; bottom:1.5rem; margin:0; color:var(--muted); font-size:.8rem; }

.social-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }
.social-card { aspect-ratio:4/5; position:relative; overflow:hidden; padding:1.2rem; display:flex; flex-direction:column; justify-content:space-between; border:1px solid var(--line); background:var(--surface); }
.social-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:brightness(.45) contrast(1.1); }
.social-card::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(20,9,11,.12),rgba(20,9,11,.92)); }
.social-card > *:not(img) { position:relative; z-index:1; }
.social-card .social-top { display:flex; justify-content:space-between; font-size:.58rem; letter-spacing:.1em; }
.social-card .social-copy p { color:var(--brass); font-size:.58rem; letter-spacing:.14em; font-weight:700; }
.social-card .social-copy h3 { margin:.35rem 0 .7rem; font-size:clamp(1.6rem,2.5vw,2.7rem); line-height:.88; }
.social-card .social-copy span { font-size:.66rem; letter-spacing:.08em; }

.physical-stage { min-height:680px; position:relative; display:grid; place-items:center; background:linear-gradient(135deg,#b7aa94,#857360); overflow:hidden; perspective:1200px; }
.menu-mock { position:absolute; left:12%; top:14%; width:min(360px,34vw); aspect-ratio:.72; padding:2rem; background:var(--cream); color:var(--ink); transform:rotate(-7deg) rotateY(8deg); box-shadow:0 35px 60px rgba(34,20,11,.35); }
.menu-mock img { width:95px; filter:brightness(.16); margin-bottom:2rem; }
.menu-mock > span { font-size:.6rem; letter-spacing:.15em; }
.menu-mock h3 { margin:1.2rem 0; font-size:3rem; }
.menu-rule { height:1px; background:var(--ink); opacity:.3; }
.menu-mock p { margin-top:1.5rem; font-family:var(--serif); }
.coaster-mock { position:absolute; right:16%; bottom:16%; width:180px; aspect-ratio:1; border-radius:50%; background:var(--uvita); display:grid; place-content:center; text-align:center; transform:rotate(11deg) rotateX(12deg); box-shadow:0 25px 45px rgba(34,20,11,.35); border:6px solid #e1d6c2; }
.coaster-mock span,.coaster-mock small { font-size:.6rem; letter-spacing:.16em; }
.coaster-mock strong { font-family:var(--serif); font-size:3.5rem; }
.poster-mock { position:absolute; right:11%; top:10%; width:min(300px,29vw); aspect-ratio:.72; padding:1.5rem; background:var(--ink); color:var(--cream); transform:rotate(5deg) translateZ(50px); box-shadow:0 32px 55px rgba(34,20,11,.35); }
.poster-mock p { color:var(--brass); font-size:.55rem; letter-spacing:.14em; }
.poster-mock h3 { font-size:clamp(2rem,4vw,4rem); line-height:.88; }
.poster-mock div { height:1px; background:var(--cream); opacity:.4; margin:2rem 0 1rem; }
.poster-mock span { font-size:.64rem; line-height:1.7; }

.route-controls { display:flex; gap:.5rem; flex-wrap:wrap; margin-bottom:1rem; }
.route-button { min-height:44px; padding:.7rem 1rem; border:1px solid var(--line); background:transparent; color:var(--muted); cursor:pointer; }
.route-button.is-active { color:var(--ink); background:var(--cream); }
.route-preview { display:grid; grid-template-columns:1.05fr .95fr; min-height:560px; border:1px solid var(--line); }
.route-preview__visual { display:flex; flex-direction:column; justify-content:flex-end; padding:clamp(2rem,5vw,5rem); background:linear-gradient(rgba(20,9,11,.2),rgba(20,9,11,.9)),url('../assets/photos/04_home_b.jpg') center/cover; }
.route-preview__visual span { color:var(--brass); font-size:.65rem; letter-spacing:.15em; }
.route-preview__visual strong { display:block; margin:1rem 0; font-family:var(--serif); font-size:clamp(3rem,6vw,6rem); line-height:.86; }
.route-preview__visual p { max-width:34rem; font-size:1rem; }
.route-preview__details { padding:clamp(2rem,5vw,4rem); background:var(--cream); color:var(--ink); }
.route-preview dl { margin:0; }
.route-preview dl div { padding:1.15rem 0; border-bottom:1px solid rgba(20,9,11,.16); }
.route-preview dt { font-size:.65rem; letter-spacing:.12em; text-transform:uppercase; color:var(--uvita); font-weight:700; }
.route-preview dd { margin:.45rem 0 0; font-family:var(--serif); font-size:1.25rem; }
.score-grid { display:grid; grid-template-columns:1fr 1fr; gap:.7rem; margin-top:2rem; }
.score { padding:.9rem; border:1px solid rgba(20,9,11,.16); }
.score span { display:block; font-size:.62rem; text-transform:uppercase; letter-spacing:.08em; }
.score strong { font-family:var(--serif); font-size:2rem; color:var(--uvita); }

.decision-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }
.decision-card { min-height:240px; padding:1.4rem; text-align:left; display:flex; flex-direction:column; justify-content:space-between; background:var(--surface); border:1px solid var(--line); cursor:pointer; }
.decision-card > span { color:var(--brass); font-size:.62rem; letter-spacing:.13em; text-transform:uppercase; }
.decision-card strong { font-family:var(--serif); font-size:clamp(1.35rem,2.2vw,2.1rem); line-height:1.05; }
.decision-card small { width:max-content; padding:.35rem .55rem; border:1px solid var(--line); color:var(--muted); }
.decision-card.is-approved { background:var(--cream); color:var(--ink); }
.decision-card.is-approved small { color:var(--uvita); border-color:rgba(20,9,11,.2); }

@media (max-width:1100px) {
  .section-rail { display:none; }
  .brand-core-grid { grid-template-columns:1fr; }
  .tension-list { grid-template-columns:repeat(5,minmax(150px,1fr)); overflow:auto; }
  .identity-grid,.route-preview { grid-template-columns:1fr; }
  .social-grid,.decision-grid { grid-template-columns:repeat(2,1fr); }
  .photo-grid { grid-auto-rows:110px; }
}
@media (max-width:760px) {
  .split-heading { grid-template-columns:1fr; gap:1rem; }
  .hero-stamp { width:95px; right:1rem; bottom:1rem; opacity:.9; }
  .hero-copy { padding-bottom:8rem; }
  .archive-stage { grid-template-columns:1fr; }
  .archive-card { min-height:450px; }
  .archive-wall-card { grid-template-columns:1fr; }
  .archive-wall-card img { min-height:320px; }
  .palette { grid-template-columns:1fr 1fr; }
  .swatch:last-child { grid-column:1/-1; }
  .brand-grammar { grid-template-columns:1fr 1fr; }
  .photo-grid { display:grid; grid-template-columns:1fr 1fr; grid-auto-rows:180px; }
  .photo-tile:nth-child(n) { grid-column:span 1; grid-row:span 1; }
  .photo-tile:nth-child(1),.photo-tile:nth-child(6) { grid-column:span 2; }
  .photo-manifesto { grid-template-columns:auto 1fr; }
  .social-grid,.decision-grid { grid-template-columns:1fr; }
  .physical-stage { min-height:590px; }
  .menu-mock { left:5%; width:56vw; }
  .poster-mock { right:4%; width:43vw; }
  .coaster-mock { right:10%; width:130px; }
}
@media (max-width:480px) {
  .lab-section { padding-left:1rem; padding-right:1rem; }
  .brand-grammar { grid-template-columns:1fr; }
  .photo-grid { grid-template-columns:1fr; }
  .photo-tile:nth-child(n) { grid-column:span 1; }
  .type-stage,.logo-stage { min-height:430px; }
  .palette { grid-template-columns:1fr; }
  .swatch:last-child { grid-column:auto; }
  .motion-concept-placeholder { min-height:460px; }
  .layered-paper { width:190px; height:280px; }
  .layer-a { left:15%; }
  .layer-b { left:28%; }
  .layer-c { left:42%; }
}

/* Instagram Brand Lab V2 */
.instagram-v2-section {
  --ig-black: #0b0b0d;
  --ig-cream: #f2e7d0;
  --ig-gold: #d8b04a;
  --ig-bordo: #7c1f2e;
  --ig-red: #b22a25;
  --ig-yellow: #d5a72b;
  --ig-navy: #171a36;
}
.instagram-before-after {
  display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(520px,1.18fr);
  gap: clamp(1rem,3vw,2.5rem);
  align-items: start;
}
.instagram-current,
.instagram-refined { margin:0; border:1px solid var(--line); background:#08090b; }
.instagram-current figcaption { padding:1rem 1.1rem; display:flex; justify-content:space-between; gap:1rem; color:var(--muted); font-size:.72rem; }
.instagram-current figcaption span { color:var(--brass); letter-spacing:.16em; font-weight:800; }
.instagram-current figcaption strong { color:var(--cream); font-family:var(--sans); font-weight:600; }
.instagram-current img { width:100%; height:auto; }
.instagram-refined { position:relative; overflow:hidden; color:#ececec; box-shadow:0 28px 80px rgba(0,0,0,.28); }
.ig-proposal-tag { padding:.62rem 1rem; border-bottom:1px solid rgba(255,255,255,.09); color:var(--ig-gold); font-size:.58rem; letter-spacing:.16em; font-weight:800; }
.ig-profile-head { display:grid; grid-template-columns:96px 1fr; gap:1.15rem; padding:1.25rem 1.3rem .8rem; }
.ig-avatar { grid-row:1 / 3; width:92px; height:92px; border-radius:50%; display:grid; place-items:center; padding:17px; background:#111; border:2px solid var(--ig-gold); box-shadow:inset 0 0 0 3px #08090b; }
.ig-avatar img { width:100%; height:100%; object-fit:contain; }
.ig-profile-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:.6rem; text-align:center; align-items:center; }
.ig-profile-stats div { display:grid; gap:.1rem; }
.ig-profile-stats strong { font-size:.86rem; font-weight:700; }
.ig-profile-stats span { color:#aaa; font-size:.58rem; }
.ig-profile-copy { min-width:0; }
.ig-profile-copy > strong { display:block; margin-bottom:.4rem; font-size:.82rem; }
.ig-profile-copy > div { display:grid; gap:.12rem; color:#cfcfcf; font-size:.68rem; line-height:1.35; }
.ig-highlight-row { display:flex; gap:.75rem; overflow-x:auto; padding:.9rem 1.1rem 1.1rem; scrollbar-width:none; border-top:1px solid rgba(255,255,255,.04); }
.ig-highlight-row::-webkit-scrollbar { display:none; }
.ig-highlight { flex:0 0 66px; text-align:center; }
.ig-highlight-cover { position:relative; width:58px; aspect-ratio:1; margin:0 auto .38rem; display:grid; place-items:center; border-radius:50%; color:var(--ig-cream); background:radial-gradient(circle at 50% 35%, #1a1716 0, #0b0b0d 72%); border:1px solid var(--ig-gold); box-shadow:inset 0 0 0 3px #0b0b0d, inset 0 0 0 4px rgba(216,176,74,.42); }
.ig-highlight-cover svg { width:34px; height:34px; }
.ig-highlight-cover--agenda { color:var(--ig-yellow); }
.ig-highlight-cover--reservas { color:var(--ig-cream); }
.ig-highlight-cover--uvita { color:#d7a675; background:radial-gradient(circle at 50% 35%, #2a1014, #0b0b0d 74%); }
.ig-highlight-cover--archivo { color:var(--ig-gold); }
.ig-highlight-cover--3mas1 { color:var(--ig-yellow); background:radial-gradient(circle at 50% 35%, #2b1710, #0b0b0d 74%); }
.ig-highlight-cover--carta { color:var(--ig-cream); }
.ig-highlight-mark { position:absolute; width:5px; height:5px; border-radius:50%; background:var(--ig-bordo); bottom:5px; right:7px; box-shadow:0 0 0 2px #0b0b0d; }
.ig-highlight strong { display:block; font-family:var(--sans); font-size:.55rem; font-weight:500; color:#d8d8d8; white-space:nowrap; }
.ig-profile-tabs { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.08); text-align:center; color:#777; }
.ig-profile-tabs span { padding:.62rem; position:relative; }
.ig-profile-tabs .is-active { color:#eee; }
.ig-profile-tabs .is-active::after { content:""; position:absolute; left:25%; right:25%; bottom:-1px; height:1px; background:#eee; }
.ig-feed-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:#151515; }
.ig-feed-tile { position:relative; aspect-ratio:1; overflow:hidden; isolation:isolate; background:#111; }
.ig-feed-tile > img:first-child { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-3; }
.ig-feed-scrim { position:absolute; inset:0; z-index:-2; background:linear-gradient(180deg,rgba(6,7,9,.05) 18%,rgba(8,7,8,.18) 45%,rgba(8,7,8,.92) 100%); }
.ig-feed-frame { position:absolute; inset:5%; border:1px solid rgba(216,176,74,.74); pointer-events:none; }
.ig-feed-frame::before { content:""; position:absolute; inset:4px; border:1px solid rgba(216,176,74,.18); }
.ig-feed-logo { position:absolute; z-index:2; top:8%; right:8%; width:24%; max-height:24%; object-fit:contain; }
.ig-feed-copy { position:absolute; z-index:2; left:9%; right:9%; bottom:9%; display:grid; gap:.28rem; }
.ig-feed-copy > span { color:var(--ig-gold); font-size:clamp(.34rem,.65vw,.55rem); font-weight:800; letter-spacing:.15em; }
.ig-feed-copy > strong { font-family:var(--serif); font-size:clamp(.74rem,1.4vw,1.35rem); line-height:.94; letter-spacing:-.02em; color:var(--ig-cream); text-shadow:0 1px 14px #000; }
.ig-feed-copy > small { color:#eee; font-size:clamp(.31rem,.54vw,.49rem); letter-spacing:.08em; font-weight:600; }
.ig-feed-tile--gala .ig-feed-scrim { background:linear-gradient(180deg,rgba(7,7,8,.1),rgba(8,6,7,.35) 45%,rgba(7,6,6,.96)); }
.ig-feed-tile--gala .ig-feed-frame::after { content:""; position:absolute; width:18px; height:18px; top:-1px; left:-1px; border-top:1px solid var(--ig-gold); border-left:1px solid var(--ig-gold); border-radius:65% 0 0 0; }
.ig-feed-tile--ciclo .ig-feed-scrim { background:linear-gradient(135deg,rgba(124,31,46,.78),rgba(6,7,9,.18) 45%,rgba(5,5,6,.9)); mix-blend-mode:multiply; }
.ig-feed-tile--ciclo .ig-feed-frame { border-color:rgba(197,156,43,.82); }
.ig-feed-tile--ciclo::after { content:""; position:absolute; z-index:-1; right:-10%; top:-10%; width:45%; aspect-ratio:1; background:repeating-radial-gradient(circle,rgba(216,176,74,.38) 0 1.2px,transparent 1.2px 5px); opacity:.75; transform:rotate(12deg); }
.ig-feed-tile--casa .ig-feed-scrim { background:linear-gradient(180deg,rgba(5,5,5,.04),rgba(10,8,7,.08) 45%,rgba(9,7,7,.8)); }
.ig-feed-tile--casa .ig-feed-frame { border-color:rgba(242,231,208,.4); }
.ig-feed-tile--casa .ig-feed-copy > span { color:var(--ig-cream); }
.ig-feed-tile--casa .ig-feed-logo { opacity:.9; }

.highlight-rationale { margin-top:clamp(2rem,5vw,4.5rem); display:grid; grid-template-columns:.65fr 1.35fr; gap:1rem; }
.highlight-rationale__intro { padding:clamp(1.5rem,3vw,2.5rem); background:var(--cream); color:var(--ink); }
.highlight-rationale__intro .eyebrow { color:var(--uvita); }
.highlight-rationale__intro h3 { font-size:clamp(2rem,4vw,4rem); line-height:.93; }
.highlight-plan { display:grid; grid-template-columns:repeat(2,1fr); border-top:1px solid var(--line); border-left:1px solid var(--line); }
.highlight-plan article { min-height:140px; padding:1rem; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.highlight-plan article > span { color:var(--brass); font-size:.6rem; letter-spacing:.13em; }
.highlight-plan article > strong { display:block; margin:.65rem 0 .3rem; font-family:var(--serif); font-size:1.35rem; }
.highlight-plan article p { margin:0; color:var(--muted); font-size:.74rem; line-height:1.45; }
.content-family-legend { margin-top:1rem; display:grid; grid-template-columns:repeat(3,1fr); }
.family { min-height:245px; padding:1.5rem; border:1px solid var(--line); border-right:0; }
.family:last-child { border-right:1px solid var(--line); }
.family > span { font-size:.62rem; font-weight:800; letter-spacing:.16em; color:var(--brass); }
.family h3 { margin:2.2rem 0 .7rem; font-size:2rem; }
.family p { margin:0; color:var(--muted); font-size:.84rem; }
.family--ciclo { background:linear-gradient(135deg,rgba(124,31,46,.48),rgba(20,9,11,.25)); }
.family--ciclo > span { color:#e0b135; }
.family--casa { background:var(--cream); color:var(--ink); }
.family--casa > span { color:var(--uvita); }
.family--casa p { color:#665851; }
.color-memory-panel { margin-top:1rem; display:grid; grid-template-columns:.62fr 1.38fr; gap:1rem; align-items:stretch; }
.color-memory-copy { padding:1.5rem; border:1px solid var(--line); }
.color-memory-copy h3 { font-size:clamp(2rem,3.7vw,3.5rem); }
.color-memory-copy p:last-child { color:var(--muted); }
.color-memory-grid { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line); border-left:1px solid var(--line); }
.color-era { padding:1rem; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.color-era__swatches { display:grid; grid-template-columns:repeat(4,1fr); height:70px; margin-bottom:1.1rem; }
.color-era__swatches i { display:block; }
.color-era strong { display:block; margin-bottom:.5rem; font-family:var(--serif); font-size:1.15rem; }
.color-era p { margin:0; color:var(--muted); font-size:.72rem; line-height:1.45; }

@media (max-width: 1050px) {
  .instagram-before-after { grid-template-columns:1fr; }
  .instagram-current { max-height:520px; overflow:hidden; }
  .instagram-current img { object-fit:cover; object-position:top; }
  .highlight-rationale,.color-memory-panel { grid-template-columns:1fr; }
}
@media (max-width: 760px) {
  .instagram-v2-section { padding-left:.8rem; padding-right:.8rem; }
  .instagram-refined { width:100%; }
  .ig-profile-head { grid-template-columns:76px 1fr; gap:.8rem; padding:1rem .8rem .7rem; }
  .ig-avatar { width:72px; height:72px; padding:13px; }
  .ig-profile-stats strong { font-size:.75rem; }
  .ig-profile-stats span { font-size:.5rem; }
  .ig-highlight-row { gap:.52rem; padding-left:.7rem; padding-right:.7rem; }
  .ig-highlight { flex-basis:58px; }
  .ig-highlight-cover { width:52px; }
  .ig-highlight-cover svg { width:30px; }
  .ig-feed-copy { left:7%; right:7%; bottom:7%; }
  .ig-feed-logo { top:7%; right:7%; width:27%; }
  .highlight-plan,.content-family-legend,.color-memory-grid { grid-template-columns:1fr; }
  .family { border-right:1px solid var(--line); border-bottom:0; }
  .family:last-child { border-bottom:1px solid var(--line); }
}
@media (max-width: 460px) {
  .instagram-before-after { gap:.7rem; }
  .instagram-current figcaption { display:grid; gap:.25rem; }
  .ig-profile-head { grid-template-columns:64px 1fr; }
  .ig-avatar { width:62px; height:62px; padding:11px; }
  .ig-profile-copy { grid-column:1 / -1; padding-top:.25rem; }
  .ig-profile-stats span { font-size:.46rem; }
  .ig-highlight-row { gap:.4rem; }
  .ig-highlight { flex-basis:52px; }
  .ig-highlight-cover { width:47px; }
  .ig-highlight strong { font-size:.5rem; }
  .ig-feed-copy > strong { font-size:.67rem; }
  .ig-feed-copy > span,.ig-feed-copy > small { font-size:.29rem; }
}

/* Stories Identity V3 — feed locked, stories own the rebrand */
.stories-identity-section {
  --ff-petrol:#012733;
  --ff-petrol-2:#063b48;
  --ff-cream:#f4eddf;
  --ff-bordo:#7c1f2e;
  --ff-yellow:#d7a82d;
  --ff-black:#0b0b0d;
}
.stories-scope-lock {
  display:grid;
  grid-template-columns:auto 1fr minmax(260px,.8fr);
  gap:1rem;
  align-items:center;
  margin-bottom:clamp(1.5rem,4vw,3rem);
  padding:1.1rem 1.2rem;
  border:1px solid rgba(244,237,223,.18);
  border-left:5px solid var(--ff-yellow);
  background:linear-gradient(100deg,rgba(1,39,51,.9),rgba(1,24,32,.7));
}
.stories-scope-lock span { color:var(--ff-yellow); font-size:.62rem; font-weight:800; letter-spacing:.16em; }
.stories-scope-lock strong { font-family:var(--serif); font-size:clamp(1.1rem,2vw,1.55rem); color:var(--ff-cream); }
.stories-scope-lock p { margin:0; color:#aeb7b9; font-size:.78rem; line-height:1.45; }

.stories-profile-preview {
  display:grid;
  grid-template-columns:minmax(560px,1.15fr) minmax(300px,.85fr);
  gap:clamp(1rem,3vw,2.4rem);
  align-items:start;
}
.stories-profile-preview__phone {
  overflow:hidden;
  border:1px solid rgba(244,237,223,.12);
  border-radius:26px;
  background:#050607;
  box-shadow:0 34px 90px rgba(0,0,0,.34);
}
.ig-mini-head {
  display:grid;
  grid-template-columns:76px 1fr auto;
  gap:.9rem;
  align-items:center;
  padding:1.1rem;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.ig-mini-head img {
  width:76px;height:76px;border-radius:50%;object-fit:cover;
  box-shadow:0 0 0 2px #050607,0 0 0 4px var(--ff-bordo),0 0 0 6px var(--ff-yellow);
}
.ig-mini-head div { display:grid; gap:.18rem; }
.ig-mini-head strong { font-size:.92rem; color:#f3f3f3; }
.ig-mini-head span { font-size:.66rem; color:#969da0; }
.ig-mini-head em { font-style:normal; color:var(--ff-yellow); font-family:var(--serif); font-size:1.05rem; }
.ig-story-bubbles {
  display:flex;
  gap:.72rem;
  overflow-x:auto;
  padding:1rem 1rem 1.25rem;
  scrollbar-width:none;
}
.ig-story-bubbles::-webkit-scrollbar { display:none; }
.ig-story-bubble { flex:0 0 76px; text-align:center; }
.ig-story-bubble__ring {
  position:relative;
  width:68px;
  aspect-ratio:1;
  margin:0 auto .4rem;
  border-radius:50%;
  overflow:hidden;
  box-shadow:0 0 0 2px #050607,0 0 0 3px rgba(244,237,223,.22);
  transition:transform .2s ease,box-shadow .2s ease;
}
.ig-story-bubble:hover .ig-story-bubble__ring { transform:translateY(-3px) rotate(-1deg); box-shadow:0 0 0 2px #050607,0 0 0 4px var(--ff-yellow); }
.ig-story-bubble img { width:100%;height:100%;object-fit:cover; }
.ig-story-bubble span { display:block; font-size:.58rem; color:#d7d7d7; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.feed-lock-label {
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:.68rem 1rem;border-top:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.07);
  font-size:.58rem;letter-spacing:.14em;color:#828a8d;
}
.feed-lock-label strong { color:var(--ff-yellow); font-size:.58rem; }
.ig-current-feed { display:block; width:100%; height:auto; }
.stories-profile-preview__copy {
  position:sticky; top:110px;
  padding:clamp(1.4rem,3vw,2.5rem);
  background:var(--ff-petrol);
  border:1px solid rgba(244,237,223,.12);
  overflow:hidden;
}
.stories-profile-preview__copy::after {
  content:""; position:absolute; width:280px;height:280px;border:22px solid var(--ff-bordo);border-radius:50%;right:-180px;top:-130px;opacity:.75;
}
.stories-profile-preview__copy h3 { max-width:12ch; font-size:clamp(2rem,4vw,4.5rem); line-height:.9; color:var(--ff-cream); }
.stories-profile-preview__copy > p:not(.eyebrow) { color:#bdc7c9; line-height:1.65; }
.stories-profile-preview__copy small { display:block; color:#899799; line-height:1.5; }
.stories-palette-strip { display:grid; grid-template-columns:1.4fr .8fr .7fr .65fr .65fr; height:78px; margin:2rem 0 1rem; transform:rotate(-2deg); transform-origin:left; }
.stories-palette-strip i { display:block; }

.section-heading--small { margin-top:clamp(2.5rem,6vw,5rem); }
.section-heading--small h3 { font-size:clamp(2rem,4vw,4rem); line-height:.92; }
.story-highlight-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  margin-top:1rem;
  background:rgba(244,237,223,.12);
  border:1px solid rgba(244,237,223,.12);
}
.story-highlight-card { display:grid; grid-template-rows:auto 1fr; min-width:0; background:var(--ink); }
.story-highlight-cover-wrap { padding:clamp(.9rem,2vw,1.5rem); background:linear-gradient(160deg,#071013,#030607); }
.story-highlight-cover { width:100%; aspect-ratio:1; object-fit:cover; border-radius:50%; box-shadow:0 24px 55px rgba(0,0,0,.42); }
.story-highlight-copy { display:grid; align-content:start; gap:.5rem; min-height:230px; padding:1rem 1rem 1.2rem; }
.story-highlight-copy > span { color:var(--ff-yellow); font-size:.6rem; letter-spacing:.16em; }
.story-highlight-copy > strong { font-family:var(--serif); font-size:1.45rem; color:var(--ff-cream); }
.story-highlight-copy p { margin:0; color:#c3c7c7; font-size:.78rem; line-height:1.45; }
.story-highlight-copy small { color:#7f8c8f; line-height:1.45; }
.story-highlight-copy a { align-self:end; width:max-content; margin-top:.35rem; color:var(--ff-yellow); font-size:.68rem; text-decoration:none; border-bottom:1px solid currentColor; }

.story-template-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
  margin-top:1rem;
}
.story-template {
  position:relative;
  aspect-ratio:9/16;
  overflow:hidden;
  isolation:isolate;
  background:#071014;
  box-shadow:0 25px 60px rgba(0,0,0,.22);
}
.story-template__photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-3; }
.story-template__wash { position:absolute; inset:0; z-index:-2; background:linear-gradient(180deg,rgba(1,39,51,.2) 0%,rgba(3,11,14,.08) 38%,rgba(3,8,10,.92) 100%); }
.story-template__edge { position:absolute; inset:4%; z-index:-1; border:1px solid rgba(244,237,223,.72); }
.story-template__edge::after { content:""; position:absolute; left:-1px; top:-1px; width:32%; height:14%; border-left:8px solid var(--ff-bordo); border-top:8px solid var(--ff-yellow); }
.story-template__top { position:absolute; left:9%; right:9%; top:7%; display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.story-template__top span { color:var(--ff-yellow); font-family:var(--serif); font-size:1.15rem; }
.story-template__top em { font-style:normal; color:var(--ff-cream); font-size:.58rem; letter-spacing:.18em; font-weight:800; text-align:right; }
.story-template__copy { position:absolute; left:9%; right:9%; bottom:8%; display:grid; gap:.75rem; }
.story-template__copy strong { max-width:8ch; color:var(--ff-cream); font-family:var(--serif); font-size:clamp(2.1rem,4vw,4.7rem); line-height:.82; letter-spacing:-.04em; }
.story-template__copy p { max-width:31ch; margin:0; color:#e0e2df; font-size:.78rem; line-height:1.45; }
.story-template__copy span { width:max-content; max-width:100%; padding:.62rem .75rem; background:var(--ff-cream); color:var(--ff-petrol); font-size:.62rem; font-weight:800; letter-spacing:.08em; }
.story-template--documental .story-template__edge { border-color:rgba(244,237,223,.34); }
.story-template--documental .story-template__edge::after { border-top-color:var(--ff-bordo); border-left-color:var(--ff-bordo); }
.story-template--producto .story-template__wash { background:linear-gradient(180deg,rgba(124,31,46,.08),rgba(0,0,0,.12) 40%,rgba(1,27,35,.95)); }
.story-template--producto .story-template__copy strong { color:#f7de9a; }
.story-template--archivo .story-template__photo { filter:contrast(1.03) saturate(.78); }
.story-template--archivo .story-template__wash { background:linear-gradient(180deg,rgba(1,39,51,.1),rgba(2,14,18,.22) 45%,rgba(1,39,51,.96)); }
.story-template--historia .story-template__edge::after { border-top-width:18px; border-left-width:2px; width:50%; }
.story-template--servicio .story-template__wash { background:linear-gradient(180deg,rgba(1,39,51,.58),rgba(1,39,51,.22) 45%,rgba(1,18,24,.96)); }

.stories-rules-grid { display:grid; grid-template-columns:repeat(4,1fr); margin-top:1rem; border-top:1px solid var(--line); border-left:1px solid var(--line); }
.stories-rules-grid article { min-height:210px; padding:1.25rem; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.stories-rules-grid span { color:var(--ff-yellow); font-size:.62rem; letter-spacing:.14em; }
.stories-rules-grid strong { display:block; margin:1.8rem 0 .6rem; font-family:var(--serif); font-size:1.45rem; }
.stories-rules-grid p { margin:0; color:var(--muted); font-size:.78rem; line-height:1.5; }

/* The official logo is a square artwork, never stretched into the old transparent wordmark slot. */
.lab-brand img { border-radius:10px; object-fit:cover; }
.logo-stage img { max-width:360px; width:min(74%,360px); aspect-ratio:1; object-fit:cover; border-radius:4px; }
.future-logo { width:56px; }
.future-logo img { aspect-ratio:1; object-fit:cover; border-radius:4px; }

@media (max-width:1100px) {
  .stories-profile-preview { grid-template-columns:1fr; }
  .stories-profile-preview__copy { position:relative; top:auto; }
  .story-highlight-grid { grid-template-columns:repeat(2,1fr); }
  .story-template-grid { grid-template-columns:repeat(2,1fr); }
  .stories-rules-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:720px) {
  .stories-scope-lock { grid-template-columns:1fr; }
  .stories-profile-preview__phone { border-radius:16px; }
  .ig-mini-head { grid-template-columns:62px 1fr auto; }
  .ig-mini-head img { width:62px;height:62px; }
  .story-highlight-grid { grid-template-columns:1fr 1fr; }
  .story-highlight-copy { min-height:200px; }
  .story-template-grid { grid-template-columns:1fr; max-width:420px; margin-inline:auto; }
  .stories-rules-grid { grid-template-columns:1fr; }
}
@media (max-width:480px) {
  .story-highlight-grid { grid-template-columns:1fr; }
  .ig-story-bubble { flex-basis:68px; }
  .ig-story-bubble__ring { width:60px; }
  .stories-profile-preview__copy h3 { font-size:2.7rem; }
}
