/* navigation-refined.css */
/* Shared masthead: paired brand symbol and wordmark, with compact navigation. */
body.nav-refined{--header-h:84px;}
#siteHeader[data-premium-header]{--header-h:84px;position:fixed;inset:0 0 auto;z-index:100;height:84px;padding:0;background:rgba(249,246,239,.94);border:0;border-bottom:1px solid rgba(22,22,27,.09);box-shadow:0 3px 18px rgba(22,22,27,.025);backdrop-filter:blur(20px) saturate(115%);-webkit-backdrop-filter:blur(20px) saturate(115%);transition:height .24s ease,background .24s ease,box-shadow .24s ease;}
#siteHeader[data-premium-header].is-scrolled{height:70px;background:rgba(249,246,239,.97);box-shadow:0 5px 24px rgba(22,22,27,.055);}
#siteHeader .premium-header__inner{width:min(1440px,calc(100% - 80px));height:100%;margin:0 auto;display:flex;align-items:center;gap:28px;}
#siteHeader .header-brand{display:flex;align-items:center;gap:12px;flex:none;line-height:0;min-width:0;border:0;background:none;color:inherit;}
#siteHeader .header-brand__symbol{display:block;width:38px;height:38px;flex:none;filter:drop-shadow(0 2px 2px rgba(17,19,22,.08));}
#siteHeader .header-brand__wordmark{display:block;width:150px;height:auto;}
#siteHeader .premium-nav{display:flex;align-items:center;justify-content:center;flex:1;gap:clamp(18px,2.2vw,32px);margin:0;padding:0;}
#siteHeader .premium-nav>a{display:block;position:relative;padding:13px 0;color:#24251f;font-family:Inter,Arial,sans-serif;font-size:13px;font-weight:500;line-height:1.4;letter-spacing:.005em;white-space:nowrap;text-decoration:none;transition:color .18s ease;}
#siteHeader .premium-nav>a::after{content:"";position:absolute;left:0;right:0;bottom:6px;height:2px;border-radius:2px;background:#ff4310;transform:scaleX(0);transform-origin:left;transition:transform .2s ease;}
#siteHeader .premium-nav>a:hover,#siteHeader .premium-nav>a:focus-visible{color:#b6320c;}
#siteHeader .premium-nav>a:hover::after,#siteHeader .premium-nav>a:focus-visible::after,#siteHeader .premium-nav>a[aria-current]::after{transform:scaleX(1);}
#siteHeader .premium-header__actions{display:flex;align-items:center;gap:12px;flex:none;}
#siteHeader .premium-cta{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:44px;padding:0 21px;border:1px solid #ff4310;border-radius:999px;background:#ff4310;color:#15161a;font-family:Inter,Arial,sans-serif;font-size:13px;font-weight:600;line-height:1.4;white-space:nowrap;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease;}
#siteHeader .premium-cta:hover{background:#ff541f;border-color:#ff541f;box-shadow:0 5px 15px rgba(255,67,16,.12);}
#siteHeader .premium-cta svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease;}
#siteHeader .premium-cta:hover svg{transform:translate(2px,-2px);}
#siteHeader .premium-toggle{position:relative;display:none;flex:none;width:40px;height:40px;padding:0;border:1px solid rgba(22,22,27,.14);border-radius:50%;background:transparent;color:#16161b;cursor:pointer;}
#siteHeader .premium-toggle span{position:absolute;left:11px;width:16px;height:1.5px;background:currentColor;transition:transform .2s ease,top .2s ease,opacity .2s ease;}
#siteHeader .premium-toggle span:nth-child(1){top:13px;}#siteHeader .premium-toggle span:nth-child(2){top:19px;}#siteHeader .premium-toggle span:nth-child(3){top:25px;}
#siteHeader .premium-toggle.is-open span:nth-child(1){top:19px;transform:rotate(45deg);}#siteHeader .premium-toggle.is-open span:nth-child(2){opacity:0;}#siteHeader .premium-toggle.is-open span:nth-child(3){top:19px;transform:rotate(-45deg);}
#siteHeader a:focus-visible,#siteHeader button:focus-visible{outline:2px solid #bc320c;outline-offset:5px;}
@media(min-width:1025px) and (max-width:1100px){
 #siteHeader .premium-header__inner{width:calc(100% - 48px);gap:20px;}
 #siteHeader .header-brand{gap:9px;}#siteHeader .header-brand__symbol{width:32px;height:32px;}#siteHeader .header-brand__wordmark{width:128px;}
 #siteHeader .premium-nav{gap:18px;}#siteHeader .premium-nav>a{font-size:12px;}#siteHeader .premium-cta{gap:12px;padding-inline:17px;font-size:12px;}
}
@media(max-width:1024px){
 body.nav-refined{--header-h:68px;}
 #siteHeader[data-premium-header],#siteHeader[data-premium-header].is-scrolled{--header-h:68px;height:68px;}
 #siteHeader .premium-header__inner{width:calc(100% - 40px);gap:12px;justify-content:space-between;}
 #siteHeader .header-brand{gap:9px;}#siteHeader .header-brand__symbol{width:30px;height:30px;}#siteHeader .header-brand__wordmark{width:clamp(102px,30vw,124px);}
 #siteHeader .premium-header__actions{gap:8px;margin-left:auto;}
 #siteHeader .premium-cta{min-height:38px;padding-inline:13px;gap:10px;font-size:11px;}
 #siteHeader .premium-cta svg{width:12px;height:12px;}
 #siteHeader .premium-toggle{display:block;}
 #siteHeader .premium-nav{position:fixed;top:78px;left:16px;right:16px;bottom:auto;display:flex;flex-direction:column;align-items:stretch;justify-content:start;gap:0;padding:12px 22px;margin:0;border:1px solid rgba(22,22,27,.12);border-radius:16px;background:#f9f6ef;box-shadow:0 15px 40px rgba(22,22,27,.13);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-8px);transition:opacity .2s ease,transform .2s ease,visibility .2s ease;max-height:calc(100dvh - 96px);overflow:auto;}
 #siteHeader .premium-nav.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);}
 #siteHeader .premium-nav>a{font-size:23px;font-weight:400;letter-spacing:-.025em;padding:13px 0;border-bottom:1px solid rgba(22,22,27,.08);line-height:1.3;}
 #siteHeader .premium-nav>a:last-child{border-bottom:0;}
 #siteHeader .premium-nav>a::after{right:auto;bottom:10px;width:28px;height:2px;}
}
@media(max-width:360px){#siteHeader .premium-header__inner{width:calc(100% - 32px);gap:8px;}#siteHeader .header-brand{gap:6px;}#siteHeader .header-brand__symbol{width:28px;height:28px;}#siteHeader .premium-header__actions{gap:6px;}#siteHeader .premium-cta svg{display:none;}#siteHeader .premium-cta{padding-inline:12px;}}
@media(prefers-reduced-motion:reduce){#siteHeader,#siteHeader *{transition:none!important;}}
/* Sub-marca Tramando Films en el header: lleva a la sección audiovisual */
#siteHeader .header-films{display:flex;align-items:center;flex:none;height:40px;margin-left:18px;padding-left:18px;border-left:1px solid rgba(22,22,27,.16);line-height:0;opacity:.92;transition:opacity .2s ease,transform .2s ease;}
#siteHeader .header-films:hover,#siteHeader .header-films:focus-visible,#siteHeader .header-films[aria-current="page"]{opacity:1;}
#siteHeader .header-films:hover{transform:translateY(-1px);}
#siteHeader .header-films__lockup{display:block;height:38px;width:auto;}
#siteHeader .header-films__icon{display:none;width:30px;height:30px;}
@media(max-width:1180px){#siteHeader .header-films{margin-left:12px;padding-left:12px;}#siteHeader .header-films__lockup{display:none;}#siteHeader .header-films__icon{display:block;}}
@media(max-width:600px){#siteHeader .header-films{height:28px;margin-left:8px;padding-left:8px;}#siteHeader .header-films__icon{width:26px;height:26px;}}

/* Keep both brands and navigation controls inside narrow screens. */
@media(max-width:600px){
 #siteHeader .premium-header__inner{width:calc(100% - 24px);gap:8px;}
 #siteHeader .header-brand{gap:6px;}
 #siteHeader .header-brand__symbol{width:28px;height:28px;}
 #siteHeader .header-brand__wordmark{width:104px;}
 #siteHeader .header-films{margin-left:0;padding-left:8px;}
 #siteHeader .premium-header__actions{gap:6px;}
 #siteHeader .premium-cta{padding-inline:10px;}
 #siteHeader .premium-cta svg{display:none;}
}
@media(max-width:360px){#siteHeader .header-brand__wordmark{width:90px;}#siteHeader .premium-header__inner{gap:6px;}}
/* Logo Tramando Agency 360° · versión A «Bloque»: símbolo + wordmark + tagline en un solo SVG con proporciones fijas */
#siteHeader .header-brand__lockup{display:block;height:44px;width:auto;flex:none}
@media(max-width:1180px){#siteHeader .header-brand__lockup{height:38px}}
@media(max-width:600px){#siteHeader .header-brand__lockup{height:30px}}
@media(max-width:360px){#siteHeader .header-brand__lockup{height:26px}}

/* Keep the complete menu comfortable with the direct Founders link. */
@media(min-width:1025px){
 #siteHeader .premium-nav{gap:clamp(12px,1.5vw,22px);}
 #siteHeader .premium-header__inner{gap:clamp(16px,1.8vw,26px);}
 #siteHeader .header-films{margin-left:12px;padding-left:12px;}
}
@media(min-width:1025px) and (max-width:1280px){
 #siteHeader .header-brand__lockup{height:38px;}
 #siteHeader .premium-nav>a{font-size:12px;}
}


/* unified-footer.css */
/* Footer maestro: replica el footer editorial de la Home en todo el sitio público. */
body .site-footer.site-footer--unified{
  position:relative;
  margin:0;
  padding:0;
  color:#16161b;
  background:#e9e4d8;
  border:0;
  border-top:1px solid rgba(22,22,27,.18);
}
body .site-footer--unified .footer-shell{
  width:min(calc(100% - 64px),1360px);
  margin-inline:auto;
  padding-inline:0;
}
body .site-footer--unified .footer-top{
  display:grid;
  grid-template-columns:minmax(260px,1.15fr) minmax(250px,.9fr) minmax(210px,.68fr);
  align-items:start;
  gap:clamp(36px,5vw,78px);
  margin:0;
  padding:clamp(34px,3.5vw,48px) 0;
  border:0;
}
body .site-footer--unified .footer-brand{min-width:0;}
body .site-footer--unified .footer-brand__lockup{
  display:flex;
  align-items:center;
  gap:11px;
  width:min(100%,250px);
  color:inherit;
}
body .site-footer--unified .footer-brand__symbol{display:block;width:38px;height:38px;flex:0 0 38px;}
body .site-footer--unified .footer-brand__wordmark{display:block;width:190px;height:auto;filter:none;}
body .site-footer--unified .footer-brand>p{
  max-width:19ch;
  margin:18px 0 0;
  color:#16161b;
  font:400 clamp(23px,1.8vw,30px)/1.06 var(--display,var(--font-display,Georgia,serif));
  letter-spacing:-.035em;
}
body .site-footer--unified .footer-brand>p em{color:#ff4310;font-weight:400;}
body .site-footer--unified .footer-nav{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 24px;
  margin:0;
  padding:1px 0 0;
}
body .site-footer--unified .footer-nav a{
  padding:0;
  color:#343438;
  font:400 11px/1.4 var(--sans,var(--font-sans,Arial,sans-serif));
  border:0;
  transition:color .2s ease;
}
body .site-footer--unified .footer-contact{display:flex;align-items:flex-start;flex-direction:column;padding-top:3px;}
body .site-footer--unified .footer-contact>span{
  margin-bottom:13px;
  color:#52604f;
  font:700 10px/1.4 var(--mono,var(--font-mono,monospace));
  letter-spacing:.1em;
  text-transform:uppercase;
}
body .site-footer--unified .footer-contact a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:0 0 3px;
  color:#16161b;
  font:400 11px/1.4 var(--sans,var(--font-sans,Arial,sans-serif));
  border:0;
  border-bottom:1px solid rgba(22,22,27,.28);
}
body .site-footer--unified .footer-contact a+a{margin-top:11px;}
body .site-footer--unified .footer-nav a:hover,body .site-footer--unified .footer-contact a:hover{color:#ff4310;}
body .site-footer--unified .footer-contact small{
  margin-top:20px;
  color:#6b6861;
  font:400 8px/1.5 var(--mono,var(--font-mono,monospace));
  letter-spacing:.09em;
  text-transform:uppercase;
}
body .site-footer--unified .footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  margin:0;
  padding:14px 0 18px;
  color:#77736b;
  background:transparent;
  border:0;
  border-top:1px solid rgba(22,22,27,.18);
  font:400 9px/1.5 var(--mono,var(--font-mono,monospace));
  letter-spacing:.06em;
  text-transform:uppercase;
}
body .site-footer--unified .footer-bottom span,body .site-footer--unified .footer-bottom p{margin:0;color:inherit;font:inherit;}
body .site-footer--unified .concept-note{display:none;}
body .site-footer.site-footer--unified::before{content:none;display:none;}
@media(max-width:900px){
  body .site-footer--unified .footer-top{grid-template-columns:1fr 1fr;}
  body .site-footer--unified .footer-brand{grid-column:1/-1;}
}
@media(max-width:600px){
  body .site-footer--unified .footer-shell{width:calc(100% - 32px);}
  body .site-footer--unified .footer-top{grid-template-columns:1fr;gap:26px;padding-block:32px 28px;}
  body .site-footer--unified .footer-brand{grid-column:1;}
  body .site-footer--unified .footer-brand__lockup{width:230px;gap:10px;}
  body .site-footer--unified .footer-brand__symbol{width:36px;height:36px;flex-basis:36px;}
  body .site-footer--unified .footer-brand__wordmark{width:174px;}
  body .site-footer--unified .footer-brand>p{max-width:19ch;margin-top:16px;font-size:25px;}
  body .site-footer--unified .footer-nav{grid-template-columns:repeat(2,1fr);gap:10px 22px;padding-top:0;}
  body .site-footer--unified .footer-contact{padding-top:0;}
  body .site-footer--unified .footer-bottom{align-items:flex-start;flex-direction:column;gap:7px;padding-block:13px 20px;font-size:8px;}
}

/* Tarjeta editorial de cierre: marca y manifiesto en una sola pieza. */
body .site-footer--unified .footer-top,
body .site-footer--unified .footer-bottom{margin-inline:auto;}
body .site-footer--unified .footer-top{grid-template-columns:minmax(300px,1.1fr) minmax(190px,.65fr) minmax(250px,.85fr);gap:clamp(28px,4vw,56px);}
body .site-footer--unified .footer-brand{position:relative;isolation:isolate;overflow:hidden;padding:30px;border:1px solid #d4cec1;border-radius:4px 28px 4px 4px;background:#f8f5ed;box-shadow:0 8px 28px rgba(28,31,24,.04);}
body .site-footer--unified .footer-brand::before{content:"";position:absolute;left:30px;top:0;width:44px;height:3px;background:#ff4310;}
body .site-footer--unified .footer-brand::after{content:"";position:absolute;right:-52px;bottom:-76px;width:160px;height:160px;border:1px solid rgba(255,67,16,.3);border-radius:50%;z-index:-1;}
body .site-footer--unified .footer-brand__lockup{width:min(100%,250px);padding-bottom:22px;border-bottom:1px solid #ded8cc;}
body .site-footer--unified .footer-brand__wordmark{width:calc(100% - 49px);max-width:190px;}
body .site-footer--unified .footer-brand>p{max-width:21ch;margin:22px 0 0;font-size:clamp(25px,2.1vw,31px);line-height:1.14;letter-spacing:-.035em;}
body .site-footer--unified .footer-brand>p em{display:block;margin-top:4px;}
body .site-footer--unified .footer-nav,
body .site-footer--unified .footer-contact{padding-top:10px;}
@media(max-width:1000px){body .site-footer--unified .footer-top{grid-template-columns:1fr 1fr;}body .site-footer--unified .footer-brand{grid-column:1/-1;display:flex;align-items:center;gap:32px;}body .site-footer--unified .footer-brand__lockup{flex:0 0 230px;border:0;padding:0;}body .site-footer--unified .footer-brand>p{margin:0;max-width:none;}}
@media(max-width:600px){body .site-footer--unified .footer-top{grid-template-columns:1fr;}body .site-footer--unified .footer-brand{display:block;padding:24px;}body .site-footer--unified .footer-brand__lockup{width:230px;max-width:100%;padding-bottom:20px;border-bottom:1px solid #ded8cc;}body .site-footer--unified .footer-brand>p{margin-top:20px;font-size:27px;max-width:21ch;}body .site-footer--unified .footer-brand__wordmark{width:calc(100% - 46px);}}


/* case-recovered.css */
.recovered-case {
  color-scheme: light;
  --bg: #f3f0e7;
  --paper: #fffdf9;
  --ink: #16161b;
  --secondary: #57544c;
  --line: #dcd5c3;
  --accent: #c43800;
  --display: Fraunces, Georgia, serif;
  --body: Inter, system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  padding-block: 0 56px;
}


.recovered-case img { display: block; max-width: 100%; height: auto; }
.recovered-case a { color: inherit; text-underline-offset: .22em; }
.recovered-case a:hover { color: var(--accent); }
.recovered-case a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.recovered-case figure, .recovered-case p, .recovered-case dl, .recovered-case dd, .recovered-case h1, .recovered-case h2 { margin: 0; }
.recovered-case h1, .recovered-case h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.04em; text-wrap: balance; }
.recovered-case h1 { font-size: clamp(2.85rem, 6.2vw, 6rem); line-height: .99; }
.recovered-case h2 { font-size: clamp(1.9rem, 3.7vw, 3.25rem); line-height: 1.08; }
.recovered-case .shell { width: min(1280px, 100% - 2 * clamp(20px, 5vw, 64px)); margin-inline: auto; }
.recovered-case .eyebrow { color: var(--accent); font: 700 .75rem/1.45 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.recovered-case .hero { display: grid; gap: clamp(26px, 5vw, 72px); padding-block: calc(var(--header-h) + clamp(24px, 3vw, 48px)) 30px; }
.recovered-case .hero-copy { max-width: 820px; }
.recovered-case .hero-copy h1 { margin-block: 10px 18px; }
.recovered-case .deck { font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.45; max-width: 680px; color: var(--secondary); }
.recovered-case .hero-media { background: var(--paper); overflow: hidden; }
.recovered-case .hero-media img { width: 100%; }
.recovered-case .hero:not(.hero--portrait) .hero-media img { max-height: min(72vw, 660px); object-fit: cover; }
.recovered-case .hero--portrait { grid-template-columns: 1fr minmax(0, 39%); align-items: center; }
.recovered-case .facts { padding-block: 22px 30px; border-block: 1px solid var(--line); }
.recovered-case .facts dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
.recovered-case .facts dl div { display: flex; flex-direction: column-reverse; gap: 3px; }
.recovered-case .facts dt { color: var(--secondary); font-size: .9rem; line-height: 1.3; }
.recovered-case .facts dd { font: 600 clamp(1.6rem, 4.5vw, 3.7rem)/1.1 var(--display); }
.recovered-case .story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(18px, 5vw, 70px); padding-block: clamp(42px, 8vw, 98px); }
.recovered-case .story-copy { font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.6; }
.recovered-case .story-copy p + p { margin-top: .85em; }
.recovered-case .gallery h2 { margin-bottom: 16px; }
.recovered-case .photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.8vw, 24px); align-items: start; }
.recovered-case .photo-grid a { display: block; background: var(--paper); }
.recovered-case .photo-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; }

.recovered-case .eyebrow a { color: inherit; }
.recovered-case .more {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin-top: clamp(36px, 7vw, 80px);
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.recovered-case .photo-grid a:hover { outline: 2px solid var(--accent); }
@media (max-width: 720px) {
  .recovered-case .hero, .recovered-case .story { grid-template-columns: 1fr; }
  .recovered-case .hero--portrait .hero-media { width: min(100%, 470px); }
  .recovered-case .hero:not(.hero--portrait) .hero-media img { max-height: none; }
  .recovered-case .facts dl { gap: 10px; }
  .recovered-case .facts dd { font-size: clamp(1.35rem, 6vw, 2.6rem); }
  .recovered-case .facts dt { font-size: .8rem; }
  .recovered-case .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* analytics.css */
.measurement-choice{position:fixed;left:20px;right:20px;bottom:20px;z-index:10000;max-width:760px;margin:auto;padding:18px 20px;background:#f9f6ef;color:#181a1b;border:1px solid #b9b7ae;box-shadow:0 8px 30px #0002;border-radius:8px;font:13px/1.5 Inter,Arial,sans-serif}.measurement-choice[hidden]{display:none!important}.measurement-choice p{font:inherit;color:inherit;margin:0 0 12px}.measurement-choice strong{display:block;margin-bottom:3px}.measurement-choice>div{display:flex;gap:10px}.measurement-choice button{flex:1;border:1px solid #222;background:transparent;border-radius:20px;padding:10px 16px;font:500 13px/1.3 Inter,Arial,sans-serif;color:#181a1b;cursor:pointer}.measurement-choice button:hover{background:#ff4b0a}.measurement-preference{border:0;border-bottom:1px solid currentColor;background:transparent;color:inherit;font:inherit;padding:0;cursor:pointer}.measurement-choice button:focus-visible,.measurement-preference:focus-visible{outline:3px solid #ff4b0a;outline-offset:3px}@media(max-width:600px){.measurement-choice{left:12px;right:12px;bottom:12px;padding:14px;font-size:12px}}


/* site-sharing.css */
/* One compact sharing treatment across public pages. */
.site-share-bar{position:static;display:flex;justify-content:flex-end;align-items:center;width:calc(100% - 48px);max-width:1440px;margin:24px auto;padding:16px 0;box-sizing:border-box}
.site-share-bar:has([hidden]){display:none}
.site-share-bar [hidden]{display:none!important}
.site-share-trigger{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:8px 16px;border:1px solid #c9c9bd;border-radius:999px;background:rgba(248,246,238,.96);box-shadow:0 3px 18px #1820181f;backdrop-filter:blur(10px);color:#24251f;font:500 13px/1.2 Inter,Arial,sans-serif;cursor:pointer;transition:background .18s,border-color .18s}
.site-share-trigger svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.site-share-trigger:hover{background:#fffaf3;border-color:#ff4b16}
.site-share-trigger:focus-visible,.site-share-dialog :is(button,a,input):focus-visible{outline:3px solid #b83b12;outline-offset:4px}
.site-share-dialog{position:fixed;box-sizing:border-box;width:min(540px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;padding:28px;border:1px solid #d6d2c7;border-radius:8px 36px 8px 8px;background:#f8f6ee;color:#18191a;box-shadow:0 24px 90px #10181340;inset:0;margin:auto}
.site-share-dialog::backdrop{background:#101813a3;backdrop-filter:blur(4px)}
.site-share-dialog__header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.site-share-dialog .site-share-dialog__eyebrow{margin:0;color:#536044;font:11px/1.5 'Space Mono',monospace;letter-spacing:.08em}
.site-share-dialog__close{flex:none;width:44px;height:44px;border:1px solid #d6d2c7;border-radius:50%;background:transparent;color:#24251f;font:28px/1 Arial,sans-serif;cursor:pointer}
.site-share-dialog h2{margin:20px 0 12px;color:#18191a!important;font:500 clamp(30px,5vw,40px)/1.12 Fraunces,Georgia,serif;letter-spacing:-.03em}
.site-share-dialog__description{margin:0 0 24px;color:#626459;font:14px/1.5 Inter,Arial,sans-serif;overflow-wrap:anywhere}
.site-share-dialog__choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 24px}
.site-share-dialog__choices :is(a,button){display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 8px;box-sizing:border-box;border:1px solid #c6c6ba;border-radius:999px;background:transparent;color:#24251f;text-decoration:none;font:600 13px/1.3 Inter,Arial,sans-serif;cursor:pointer}
.site-share-dialog__choices :is(a,button):hover{border-color:#ff4b16;background:#fffaf3}
.site-share-dialog__choices .site-share-dialog__copy{grid-column:1/-1;background:#ff4b16;border-color:#ff4b16;color:#171717}
.site-share-dialog__choices .site-share-dialog__copy:hover{background:#ed400c}
.site-share-dialog__choices button:disabled{opacity:.65;cursor:wait}
.site-share-dialog__label{display:block;margin-bottom:8px;color:#626459;font:12px/1.4 Inter,Arial,sans-serif}
.site-share-dialog__url{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:12px;border:1px solid #cfcdc4;border-radius:4px;background:#fffdf8;color:#33382f;font:12px/1.4 Inter,Arial,sans-serif}
.site-share-dialog__status{min-height:36px;margin:12px 0 0;color:#435438;font:13px/1.4 Inter,Arial,sans-serif}
@media(max-width:600px){.site-share-bar{width:calc(100% - 36px);margin:16px auto}.site-share-dialog{padding:20px}.site-share-trigger{font-size:12px}}
@media(prefers-reduced-motion:reduce){.site-share-trigger{transition:none}}

/* Work: two sibling actions, never a button nested inside a link. */
.work-refined .case-tile__actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:16px}
.work-refined .case-tile__actions .case-tile__cta{width:auto;min-height:44px;margin:0!important;padding:0;text-decoration:none;transform:none!important;transition:none}
.work-refined .case-tile__actions .case-tile__cta::after{position:absolute;inset:0;width:auto!important;height:auto;background:transparent;z-index:3}
.work-refined .case-tile__actions .case-tile__cta:focus-visible::after{outline:2px solid #d7360b;outline-offset:-2px}
.work-refined .case-tile__actions .site-share-trigger{position:relative;z-index:4;flex:none;padding:10px 16px;border-color:#d7360b;background:#ff4b16;color:#171717;font-weight:600;box-shadow:none;backdrop-filter:none}
.work-refined .case-tile__actions .site-share-trigger:hover{background:#ff6a3d;border-color:#b4340d}
.work-refined .case-tile__actions [hidden]{display:none!important}
@media(max-width:360px){.work-refined .case-tile__actions{gap:8px}.work-refined .case-tile__actions .site-share-trigger{padding-inline:12px}}

/* Home: keep the case link primary and sharing quiet, within each card. */
#casos .home-work-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:6px}
#casos .home-work-actions .home-work-case-cta{align-items:center;justify-content:flex-start;gap:10px;min-height:44px;margin:0;padding:0;color:inherit;font-size:12px;font-weight:600;white-space:nowrap}
#casos .home-work-actions .home-work-case-cta>span{color:#c5380c;font-size:16px}
#casos .home-work-actions .site-share-trigger{position:relative;z-index:4;flex:none;gap:6px;min-height:44px;padding:8px 0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;color:#62645c;font-size:12px;font-weight:400;pointer-events:auto}
#casos .home-work-actions .site-share-trigger svg{width:15px;height:15px}
#casos .home-work-actions .site-share-trigger:hover{color:#20221d;text-decoration:underline;text-underline-offset:4px}
#casos .home-work-actions [hidden]{display:none!important}
#casos .home-work-card--feature .home-work-actions .home-work-case-cta>span{color:#fff}
#casos .home-work-card--feature .home-work-actions .site-share-trigger{color:#e6e6df}
#casos .home-work-card--feature .home-work-actions .site-share-trigger:hover{color:#fff}
#casos .home-work-card--feature .home-work-actions .site-share-trigger:focus-visible{outline-color:#fff}
@media(min-width:701px) and (max-width:1000px){#casos .home-work-actions .home-work-case-cta{font-size:10px;gap:5px}#casos .home-work-actions .site-share-trigger{font-size:11px;gap:4px}}


/* visual-consistency.css */
h1, h2, h3 {
  text-wrap: balance;
}

.container.breadcrumbs {
  padding-inline: var(--gutter, clamp(20px, 5vw, 64px));
}

.container.breadcrumbs:has(+ .cv-first) {
  width: calc(100% - 48px);
  max-width: 1240px;
  padding-inline: 0;
}

@media (max-width: 600px) {
  .container.breadcrumbs:has(+ .cv-first) {
    width: calc(100% - 36px);
  }
}

.cv-first__media[data-portrait-frame],
video[data-portrait-video] {
  width: min(100%, calc(650px * var(--portrait-ratio)));
  width: min(100%, calc(min(72svh, 650px) * var(--portrait-ratio)));
  margin-inline: auto;
}

video[data-portrait-video],
.cv-first__media[data-portrait-frame] video[data-portrait-video] {
  display: block;
  position: static;
  height: auto;
  max-height: none;
  aspect-ratio: var(--portrait-ratio);
  object-fit: contain;
}

.cv-first__media[data-portrait-frame] video[data-portrait-video] {
  width: 100%;
}

#casos .home-work-card[data-case="kiven"] .home-work-image .home-work-brand {
  overflow: hidden;
  padding: 0;
}

#casos .home-work-card[data-case="kiven"] .home-work-brand img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center 43%;
}

.video-modal__frame[data-portrait-frame] {
  width: min(100%, calc(76vh * var(--portrait-ratio)));
  width: min(100%, calc(76svh * var(--portrait-ratio)));
  aspect-ratio: var(--portrait-ratio);
}

.case-gallery .media.video-embed[data-video-aspect-ratio] {
  aspect-ratio: 4 / 5;
}

.video-modal__frame[data-portrait-frame] .video-modal__close {
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(10, 10, 12, .72);
}

